home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / imprtxpr.hqx / Import_Export Tools / cards.xml < prev    next >
Text File  |  1992-06-18  |  152KB  |  3,546 lines

  1. card_7075.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>7075</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_2622.pbm</bitmap>
  8.     <cantDelete> <true /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <true /> </dontSearch>
  11.     <owner>17972</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>141</left>
  25.             <top>29</top>
  26.             <right>180</right>
  27.             <bottom>46</bottom>
  28.         </rect>
  29.         <style>rectangle</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>16</textHeight>
  42.         <name>Field Delimiter</name>
  43.         <script>on closefieldglobal lastfieldlock screenPut name of me into lastFieldif (me is not a number) thenbeepput 0 into meanswer "You must use a number between 0 and 256"elseadd 0 to meif ((me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"elseput getcharequiv(me) into cd fld (short name of me &" char")end ifend ifend closefieldon mouseenterselect text of meglobal lastfieldPut name of me into lastFieldend mouseenteron openfieldselect text of meglobal lastfieldPut name of me into lastFieldend openfield</script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>field</type>
  48.         <visible> <true /> </visible>
  49.         <dontWrap> <false /> </dontWrap>
  50.         <dontSearch> <false /> </dontSearch>
  51.         <sharedText> <false /> </sharedText>
  52.         <fixedLineHeight> <false /> </fixedLineHeight>
  53.         <autoTab> <false /> </autoTab>
  54.         <lockText> <false /> </lockText>
  55.         <rect>
  56.             <left>141</left>
  57.             <top>55</top>
  58.             <right>180</right>
  59.             <bottom>72</bottom>
  60.         </rect>
  61.         <style>rectangle</style>
  62.         <autoSelect> <false /> </autoSelect>
  63.         <showLines> <false /> </showLines>
  64.         <wideMargins> <false /> </wideMargins>
  65.         <multipleLines> <false /> </multipleLines>
  66.         <reservedFamily> 0 </reservedFamily>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>left</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <textHeight>16</textHeight>
  74.         <name>Record Delimiter</name>
  75.         <script>on closefieldglobal lastfieldPut name of me into lastFieldlock screenif (me is not a number) thenbeepput 0 into meanswer "You must use a number between 0 and 256"elseadd 0 to meif ((me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"elseput getcharequiv(me) into cd fld (short name of me &" char")end ifend ifend closefieldon mouseenterselect text of meglobal lastfieldPut name of me into lastFieldend mouseenteron openfieldselect text of meglobal lastfieldPut name of me into lastFieldend openfield</script>
  76.     </part>
  77.     <part>
  78.         <id>3</id>
  79.         <type>field</type>
  80.         <visible> <true /> </visible>
  81.         <dontWrap> <false /> </dontWrap>
  82.         <dontSearch> <false /> </dontSearch>
  83.         <sharedText> <false /> </sharedText>
  84.         <fixedLineHeight> <false /> </fixedLineHeight>
  85.         <autoTab> <false /> </autoTab>
  86.         <lockText> <true /> </lockText>
  87.         <rect>
  88.             <left>240</left>
  89.             <top>30</top>
  90.             <right>328</right>
  91.             <bottom>287</bottom>
  92.         </rect>
  93.         <style>scrolling</style>
  94.         <autoSelect> <false /> </autoSelect>
  95.         <showLines> <false /> </showLines>
  96.         <wideMargins> <false /> </wideMargins>
  97.         <multipleLines> <false /> </multipleLines>
  98.         <reservedFamily> 0 </reservedFamily>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>left</textAlign>
  102.         <font>Helvetica</font>
  103.         <textSize>10</textSize>
  104.         <textStyle>plain</textStyle>
  105.         <textHeight>16</textHeight>
  106.         <name>Ascii Table</name>
  107.         <script>on mouseUpglobal lastfieldlock screenget the clicklineif it Γëá empty thenput it into tempif lastfield is empty then put "cd fld "&quote&"field delimiter"&quote into lastfieldput the second word of temp into temp1do "put temp1 into "&lastfielddo "select text of "&lastfieldput getcharequiv(temp1) into cd fld (short name of lastfield &" char")end ifend mouseUp</script>
  108.     </part>
  109.     <part>
  110.         <id>5</id>
  111.         <type>field</type>
  112.         <visible> <true /> </visible>
  113.         <dontWrap> <false /> </dontWrap>
  114.         <dontSearch> <true /> </dontSearch>
  115.         <sharedText> <false /> </sharedText>
  116.         <fixedLineHeight> <false /> </fixedLineHeight>
  117.         <autoTab> <false /> </autoTab>
  118.         <lockText> <true /> </lockText>
  119.         <rect>
  120.             <left>10</left>
  121.             <top>29</top>
  122.             <right>132</right>
  123.             <bottom>47</bottom>
  124.         </rect>
  125.         <style>transparent</style>
  126.         <autoSelect> <false /> </autoSelect>
  127.         <showLines> <false /> </showLines>
  128.         <wideMargins> <false /> </wideMargins>
  129.         <multipleLines> <false /> </multipleLines>
  130.         <reservedFamily> 0 </reservedFamily>
  131.         <titleWidth>0</titleWidth>
  132.         <icon>0</icon>
  133.         <textAlign>left</textAlign>
  134.         <font>Chicago</font>
  135.         <textSize>12</textSize>
  136.         <textStyle>plain</textStyle>
  137.         <textHeight>16</textHeight>
  138.         <name>Field Delimiter Label</name>
  139.         <script>on mousedownglobal AsciiITemsput asciiitems into menuItemsput me into curItemget PopUpMenu( menuItems, curItem, ┬¼left of card window + left of me + 1, ┬¼top of card window + top of me + 1 ) -- display the pop-up menuif it is empty then exit mouseDown -- nothing was selectedput it  into me -- replace the contents of the fieldend mousedown</script>
  140.     </part>
  141.     <part>
  142.         <id>6</id>
  143.         <type>field</type>
  144.         <visible> <true /> </visible>
  145.         <dontWrap> <false /> </dontWrap>
  146.         <dontSearch> <true /> </dontSearch>
  147.         <sharedText> <false /> </sharedText>
  148.         <fixedLineHeight> <false /> </fixedLineHeight>
  149.         <autoTab> <false /> </autoTab>
  150.         <lockText> <true /> </lockText>
  151.         <rect>
  152.             <left>10</left>
  153.             <top>55</top>
  154.             <right>131</right>
  155.             <bottom>72</bottom>
  156.         </rect>
  157.         <style>transparent</style>
  158.         <autoSelect> <false /> </autoSelect>
  159.         <showLines> <false /> </showLines>
  160.         <wideMargins> <false /> </wideMargins>
  161.         <multipleLines> <false /> </multipleLines>
  162.         <reservedFamily> 0 </reservedFamily>
  163.         <titleWidth>0</titleWidth>
  164.         <icon>0</icon>
  165.         <textAlign>left</textAlign>
  166.         <font>Chicago</font>
  167.         <textSize>12</textSize>
  168.         <textStyle>plain</textStyle>
  169.         <textHeight>16</textHeight>
  170.         <name>Field Delimiter Label</name>
  171.         <script>on mousedownglobal AsciiITemsput asciiitems into menuItemsput me into curItemget PopUpMenu( menuItems, curItem, ┬¼left of card window + left of me + 1, ┬¼top of card window + top of me + 1 ) -- display the pop-up menuif it is empty then exit mouseDown -- nothing was selectedput it  into me -- replace the contents of the fieldend mousedown</script>
  172.     </part>
  173.     <part>
  174.         <id>7</id>
  175.         <type>field</type>
  176.         <visible> <true /> </visible>
  177.         <dontWrap> <false /> </dontWrap>
  178.         <dontSearch> <true /> </dontSearch>
  179.         <sharedText> <false /> </sharedText>
  180.         <fixedLineHeight> <false /> </fixedLineHeight>
  181.         <autoTab> <false /> </autoTab>
  182.         <lockText> <true /> </lockText>
  183.         <rect>
  184.             <left>228</left>
  185.             <top>8</top>
  186.             <right>342</right>
  187.             <bottom>25</bottom>
  188.         </rect>
  189.         <style>transparent</style>
  190.         <autoSelect> <false /> </autoSelect>
  191.         <showLines> <false /> </showLines>
  192.         <wideMargins> <false /> </wideMargins>
  193.         <multipleLines> <false /> </multipleLines>
  194.         <reservedFamily> 0 </reservedFamily>
  195.         <titleWidth>0</titleWidth>
  196.         <icon>0</icon>
  197.         <textAlign>left</textAlign>
  198.         <font>Chicago</font>
  199.         <textSize>12</textSize>
  200.         <textStyle>plain</textStyle>
  201.         <textHeight>16</textHeight>
  202.         <name>Ascii Table Label</name>
  203.         <script>on mousedownglobal AsciiITemsput asciiitems into menuItemsput me into curItemget PopUpMenu( menuItems, curItem, ┬¼left of card window + left of me + 1, ┬¼top of card window + top of me + 1 ) -- display the pop-up menuif it is empty then exit mouseDown -- nothing was selectedput it  into me -- replace the contents of the fieldend mousedown</script>
  204.     </part>
  205.     <part>
  206.         <id>13</id>
  207.         <type>field</type>
  208.         <visible> <true /> </visible>
  209.         <dontWrap> <true /> </dontWrap>
  210.         <dontSearch> <true /> </dontSearch>
  211.         <sharedText> <false /> </sharedText>
  212.         <fixedLineHeight> <false /> </fixedLineHeight>
  213.         <autoTab> <false /> </autoTab>
  214.         <lockText> <false /> </lockText>
  215.         <rect>
  216.             <left>17</left>
  217.             <top>176</top>
  218.             <right>187</right>
  219.             <bottom>289</bottom>
  220.         </rect>
  221.         <style>scrolling</style>
  222.         <autoSelect> <false /> </autoSelect>
  223.         <showLines> <false /> </showLines>
  224.         <wideMargins> <false /> </wideMargins>
  225.         <multipleLines> <false /> </multipleLines>
  226.         <reservedFamily> 0 </reservedFamily>
  227.         <titleWidth>0</titleWidth>
  228.         <icon>0</icon>
  229.         <textAlign>left</textAlign>
  230.         <font>Geneva</font>
  231.         <textSize>10</textSize>
  232.         <textStyle>bold</textStyle>
  233.         <textHeight>13</textHeight>
  234.         <name>Fields to Ignore</name>
  235.         <script></script>
  236.     </part>
  237.     <part>
  238.         <id>14</id>
  239.         <type>field</type>
  240.         <visible> <true /> </visible>
  241.         <dontWrap> <false /> </dontWrap>
  242.         <dontSearch> <false /> </dontSearch>
  243.         <sharedText> <false /> </sharedText>
  244.         <fixedLineHeight> <false /> </fixedLineHeight>
  245.         <autoTab> <false /> </autoTab>
  246.         <lockText> <true /> </lockText>
  247.         <rect>
  248.             <left>21</left>
  249.             <top>127</top>
  250.             <right>183</right>
  251.             <bottom>170</bottom>
  252.         </rect>
  253.         <style>transparent</style>
  254.         <autoSelect> <false /> </autoSelect>
  255.         <showLines> <false /> </showLines>
  256.         <wideMargins> <false /> </wideMargins>
  257.         <multipleLines> <false /> </multipleLines>
  258.         <reservedFamily> 0 </reservedFamily>
  259.         <titleWidth>0</titleWidth>
  260.         <icon>0</icon>
  261.         <textAlign>center</textAlign>
  262.         <font>Geneva</font>
  263.         <textSize>10</textSize>
  264.         <textStyle>bold</textStyle>
  265.         <textHeight>13</textHeight>
  266.         <name>Field Ignore Label</name>
  267.         <script></script>
  268.     </part>
  269.     <part>
  270.         <id>18</id>
  271.         <type>button</type>
  272.         <visible> <true /> </visible>
  273.         <reserved5> 0 </reserved5>
  274.         <reserved4> 0 </reserved4>
  275.         <reserved3> 0 </reserved3>
  276.         <reserved2> 0 </reserved2>
  277.         <reserved1> 0 </reserved1>
  278.         <enabled> <true /> </enabled>
  279.         <rect>
  280.             <left>385</left>
  281.             <top>255</top>
  282.             <right>432</right>
  283.             <bottom>288</bottom>
  284.         </rect>
  285.         <style>transparent</style>
  286.         <showName> <false /> </showName>
  287.         <highlight> <false /> </highlight>
  288.         <autoHighlight> <false /> </autoHighlight>
  289.         <sharedHighlight> <true /> </sharedHighlight>
  290.         <family>0</family>
  291.         <titleWidth>0</titleWidth>
  292.         <icon>2162</icon>
  293.         <textAlign>center</textAlign>
  294.         <font>Chicago</font>
  295.         <textSize>12</textSize>
  296.         <textStyle>plain</textStyle>
  297.         <name>Return</name>
  298.         <script>on mouseUplock screengo backsetlocationcheckmark(short name of this card)if number of this card > 1 thenput cd fld "Field Delimiter" of cd ┬¼"parameters" into cd fld "Field Delimiter"put cd fld "record delimiter" of cd ┬¼"parameters" into cd fld "record Delimiter"end ifend mouseUp</script>
  299.     </part>
  300.     <part>
  301.         <id>24</id>
  302.         <type>button</type>
  303.         <visible> <true /> </visible>
  304.         <reserved5> 0 </reserved5>
  305.         <reserved4> 0 </reserved4>
  306.         <reserved3> 0 </reserved3>
  307.         <reserved2> 0 </reserved2>
  308.         <reserved1> 0 </reserved1>
  309.         <enabled> <true /> </enabled>
  310.         <rect>
  311.             <left>392</left>
  312.             <top>214</top>
  313.             <right>424</right>
  314.             <bottom>243</bottom>
  315.         </rect>
  316.         <style>transparent</style>
  317.         <showName> <false /> </showName>
  318.         <highlight> <false /> </highlight>
  319.         <autoHighlight> <false /> </autoHighlight>
  320.         <sharedHighlight> <true /> </sharedHighlight>
  321.         <family>0</family>
  322.         <titleWidth>0</titleWidth>
  323.         <icon>1011</icon>
  324.         <textAlign>center</textAlign>
  325.         <font>Chicago</font>
  326.         <textSize>12</textSize>
  327.         <textStyle>plain</textStyle>
  328.         <name>Go Home</name>
  329.         <script>on mouseUpgo homeend mouseUp</script>
  330.     </part>
  331.     <part>
  332.         <id>25</id>
  333.         <type>field</type>
  334.         <visible> <true /> </visible>
  335.         <dontWrap> <false /> </dontWrap>
  336.         <dontSearch> <false /> </dontSearch>
  337.         <sharedText> <false /> </sharedText>
  338.         <fixedLineHeight> <false /> </fixedLineHeight>
  339.         <autoTab> <false /> </autoTab>
  340.         <lockText> <true /> </lockText>
  341.         <rect>
  342.             <left>183</left>
  343.             <top>31</top>
  344.             <right>223</right>
  345.             <bottom>48</bottom>
  346.         </rect>
  347.         <style>transparent</style>
  348.         <autoSelect> <false /> </autoSelect>
  349.         <showLines> <false /> </showLines>
  350.         <wideMargins> <false /> </wideMargins>
  351.         <multipleLines> <false /> </multipleLines>
  352.         <reservedFamily> 0 </reservedFamily>
  353.         <titleWidth>0</titleWidth>
  354.         <icon>0</icon>
  355.         <textAlign>left</textAlign>
  356.         <font>Courier</font>
  357.         <textSize>12</textSize>
  358.         <textStyle>bold</textStyle>
  359.         <textHeight>16</textHeight>
  360.         <name>Field Delimiter Char</name>
  361.         <script></script>
  362.     </part>
  363.     <part>
  364.         <id>26</id>
  365.         <type>field</type>
  366.         <visible> <true /> </visible>
  367.         <dontWrap> <false /> </dontWrap>
  368.         <dontSearch> <false /> </dontSearch>
  369.         <sharedText> <false /> </sharedText>
  370.         <fixedLineHeight> <false /> </fixedLineHeight>
  371.         <autoTab> <false /> </autoTab>
  372.         <lockText> <true /> </lockText>
  373.         <rect>
  374.             <left>183</left>
  375.             <top>57</top>
  376.             <right>223</right>
  377.             <bottom>74</bottom>
  378.         </rect>
  379.         <style>transparent</style>
  380.         <autoSelect> <false /> </autoSelect>
  381.         <showLines> <false /> </showLines>
  382.         <wideMargins> <false /> </wideMargins>
  383.         <multipleLines> <false /> </multipleLines>
  384.         <reservedFamily> 0 </reservedFamily>
  385.         <titleWidth>0</titleWidth>
  386.         <icon>0</icon>
  387.         <textAlign>left</textAlign>
  388.         <font>Courier</font>
  389.         <textSize>12</textSize>
  390.         <textStyle>bold</textStyle>
  391.         <textHeight>16</textHeight>
  392.         <name>Record Delimiter Char</name>
  393.         <script></script>
  394.     </part>
  395.     <content>
  396.         <layer>card</layer>
  397.         <id>3</id>
  398.         <text><span class="style57">  NUL2  SOH 3  STX4  ETX5  ENX6  ACK7  BEL8  BS9  TAB     10  LF11  VT12  FF13  CR14  SO15  SI16  DLE17  DC118  DC219  DC320  DC421  NAK22  SYN23  ETB24  CAN25  EM26  SUB27  ESC28  FS29  GS30  RS31  US32  sp33  !34  "35  #36  $37  %38  &39  '40  (41  )42  *43  +44  ,45  -46  .47  /48  049  150  251  352  453  554  655  756  857  958  :59  ;60  <61  =62  >63  ?64  @65  A66  B67  C68  D69  E70  F71  G72  H73  I74  J75  K76  L77  M78  N79  O80  P81  Q82  R83  S84  T85  U86  V87  W88  X89  Y90  Z91  [92  \93  ]94  ^95  _96  `97  a98  b99  c100  d101  e102  f103  g104  h105  i106  j107  k108  l109  m110  n111  o112  p113  q114  r115  s116  t117  u118  v119  w120  x121  y122  z123  {124  |125  }126  ~127  DEL128  ├ä129  ├à130  ├ç131  ├ë132  ├æ133  ├û134  ├£135  ├í136  ├á137  ├ó138  ├ñ139  ├ú140  ├Ñ141  ├º142  ├⌐143  ├¿144  ├¬145  ├½146  ├¡147  ├¼148  ├«149  ├»150  ├▒151  ├│152  ├▓153  ├┤154  ├╢155  ├╡156  ├║157  ├╣158  ├╗159  ├╝160  ΓÇá161  ┬░162  ┬ó163  ┬ú164  ┬º165  ΓÇó166  ┬╢167  ├ƒ168  ┬«169  ┬⌐170  Γäó171  ┬┤172  ┬¿173  Γëá174  ├å175  ├ÿ176  Γê₧177  ┬▒178  Γëñ179  ΓëÑ180  ┬Ñ181  ┬╡182  Γêé183  Γêæ184  ΓêÅ185  ╧Ç186  Γê½187  ┬¬188  ┬║189  ╬⌐190  ├ª191  ├╕192  ┬┐193  ┬í194  ┬¼195  ΓêÜ196  ╞Æ197  Γëê198  Γêå199  ┬½200  ┬╗201  ΓǪ202  ┬á203  ├Ç204  ├â205  ├ò206  ┼Æ207  ┼ô208  ΓÇô209  ΓÇö210  ΓÇ£211  ΓÇ¥212  ΓÇÿ213  ΓÇÖ214  ├╖215  Γùè216  ├┐217  ┼╕218  Γüä219  Γé¼220  ΓÇ╣221  ΓÇ║222  ∩¼ü223  ∩¼é224  ΓÇí225  ┬╖226  ΓÇÜ227  ΓÇ₧228  ΓÇ░229  ├é230  ├è231  ├ü232  ├ï233  ├ê234  ├ì235  ├Ä236  ├Å237  ├î238  ├ô239  ├ö240  ∩ú┐241  ├Æ242  ├Ü243  ├¢244  ├Ö245  ─▒246  ╦å247  ╦£248  ┬»249  ╦ÿ250  ╦Ö251  ╦Ü252  ┬╕253  ╦¥254  ╦¢255  ╦ç256  </span></text>
  399.     </content>
  400.     <content>
  401.         <layer>card</layer>
  402.         <id>5</id>
  403.         <text>Field Delimiter</text>
  404.     </content>
  405.     <content>
  406.         <layer>card</layer>
  407.         <id>6</id>
  408.         <text>Record Delimiter</text>
  409.     </content>
  410.     <content>
  411.         <layer>card</layer>
  412.         <id>1</id>
  413.         <text>9</text>
  414.     </content>
  415.     <content>
  416.         <layer>card</layer>
  417.         <id>7</id>
  418.         <text>Ascii Reference</text>
  419.     </content>
  420.     <content>
  421.         <layer>card</layer>
  422.         <id>14</id>
  423.         <text>Field Keywords to Ignore in Search for Background Field Names</text>
  424.     </content>
  425.     <content>
  426.         <layer>card</layer>
  427.         <id>13</id>
  428.         <text>labelsortorder</text>
  429.     </content>
  430.     <content>
  431.         <layer>card</layer>
  432.         <id>2</id>
  433.         <text>13</text>
  434.     </content>
  435.     <content>
  436.         <layer>card</layer>
  437.         <id>25</id>
  438.         <text> TAB     </text>
  439.     </content>
  440.     <content>
  441.         <layer>card</layer>
  442.         <id>26</id>
  443.         <text> CR</text>
  444.     </content>
  445.     <name>Parameters</name>
  446.     <script>on opencardglobal lastfieldlock screenput empty into lastfieldset the scroll of cd field "ascii table" to 0end opencardon arrowkey--end arrowkeyon returnkey--end returnkeyfunction GetCharEquiv numput line num of cd fld "ascii table" into tempget length of numreturn char (it + 2) to 10 of tempend getcharequiv</script>
  447. </card>
  448.  
  449.  
  450. card_2103.xml
  451. <?xml version="1.0" encoding="utf-8" ?>
  452. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  453. <card>
  454.     <id>2103</id>
  455.     <filler1>0</filler1>
  456.     <bitmap>BMAP_3665.pbm</bitmap>
  457.     <cantDelete> <true /> </cantDelete>
  458.     <showPict> <true /> </showPict>
  459.     <dontSearch> <true /> </dontSearch>
  460.     <owner>17972</owner>
  461.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  462.     <part>
  463.         <id>71</id>
  464.         <type>field</type>
  465.         <visible> <true /> </visible>
  466.         <dontWrap> <false /> </dontWrap>
  467.         <dontSearch> <false /> </dontSearch>
  468.         <sharedText> <false /> </sharedText>
  469.         <fixedLineHeight> <true /> </fixedLineHeight>
  470.         <autoTab> <false /> </autoTab>
  471.         <lockText> <true /> </lockText>
  472.         <rect>
  473.             <left>5</left>
  474.             <top>69</top>
  475.             <right>169</right>
  476.             <bottom>278</bottom>
  477.         </rect>
  478.         <style>scrolling</style>
  479.         <autoSelect> <false /> </autoSelect>
  480.         <showLines> <true /> </showLines>
  481.         <wideMargins> <false /> </wideMargins>
  482.         <multipleLines> <false /> </multipleLines>
  483.         <reservedFamily> 0 </reservedFamily>
  484.         <titleWidth>0</titleWidth>
  485.         <icon>0</icon>
  486.         <textAlign>left</textAlign>
  487.         <font>Geneva</font>
  488.         <textSize>10</textSize>
  489.         <textStyle>plain</textStyle>
  490.         <textHeight>16</textHeight>
  491.         <name>iStack Fields</name>
  492.         <script>on mouseDownget the value of the clicklineif it is empty then exit mouseDownglobal iPopItemsget PopUpMenu(iPopItems,"1",left of me + 1,the MouseV + 12)if item 1 of it is 0 then exit mouseDown -- nothing was selectedput item 2 of it into the clickline -- replace the contents of the fieldend mouseDown</script>
  493.     </part>
  494.     <part>
  495.         <id>72</id>
  496.         <type>field</type>
  497.         <visible> <true /> </visible>
  498.         <dontWrap> <true /> </dontWrap>
  499.         <dontSearch> <false /> </dontSearch>
  500.         <sharedText> <false /> </sharedText>
  501.         <fixedLineHeight> <true /> </fixedLineHeight>
  502.         <autoTab> <false /> </autoTab>
  503.         <lockText> <true /> </lockText>
  504.         <rect>
  505.             <left>182</left>
  506.             <top>69</top>
  507.             <right>334</right>
  508.             <bottom>278</bottom>
  509.         </rect>
  510.         <style>scrolling</style>
  511.         <autoSelect> <false /> </autoSelect>
  512.         <showLines> <true /> </showLines>
  513.         <wideMargins> <false /> </wideMargins>
  514.         <multipleLines> <false /> </multipleLines>
  515.         <reservedFamily> 0 </reservedFamily>
  516.         <titleWidth>0</titleWidth>
  517.         <icon>0</icon>
  518.         <textAlign>left</textAlign>
  519.         <font>Geneva</font>
  520.         <textSize>10</textSize>
  521.         <textStyle>plain</textStyle>
  522.         <textHeight>16</textHeight>
  523.         <name>jstack fields</name>
  524.         <script>on mouseDownif cd fld "jstack name" is empty then exit mousedownget the value of the clicklineif it is empty then exit mouseDownglobal jPopItemsget PopUpMenu(jPopItems,"1",left of me + 1,the MouseV + 12)if item 1 of it is 0 then exit mouseDown -- nothing was selectedput item 2 of it into the clickline -- replace the contents of the fieldend mouseDown</script>
  525.     </part>
  526.     <part>
  527.         <id>26</id>
  528.         <type>field</type>
  529.         <visible> <true /> </visible>
  530.         <dontWrap> <true /> </dontWrap>
  531.         <dontSearch> <false /> </dontSearch>
  532.         <sharedText> <false /> </sharedText>
  533.         <fixedLineHeight> <false /> </fixedLineHeight>
  534.         <autoTab> <false /> </autoTab>
  535.         <lockText> <false /> </lockText>
  536.         <rect>
  537.             <left>460</left>
  538.             <top>257</top>
  539.             <right>492</right>
  540.             <bottom>300</bottom>
  541.         </rect>
  542.         <style>rectangle</style>
  543.         <autoSelect> <false /> </autoSelect>
  544.         <showLines> <false /> </showLines>
  545.         <wideMargins> <false /> </wideMargins>
  546.         <multipleLines> <false /> </multipleLines>
  547.         <reservedFamily> 0 </reservedFamily>
  548.         <titleWidth>0</titleWidth>
  549.         <icon>0</icon>
  550.         <textAlign>left</textAlign>
  551.         <font>Geneva</font>
  552.         <textSize>12</textSize>
  553.         <textStyle>plain</textStyle>
  554.         <textHeight>16</textHeight>
  555.         <name>Field Seps</name>
  556.         <script></script>
  557.     </part>
  558.     <part>
  559.         <id>38</id>
  560.         <type>button</type>
  561.         <visible> <true /> </visible>
  562.         <reserved5> 0 </reserved5>
  563.         <reserved4> 0 </reserved4>
  564.         <reserved3> 0 </reserved3>
  565.         <reserved2> 0 </reserved2>
  566.         <reserved1> 0 </reserved1>
  567.         <enabled> <true /> </enabled>
  568.         <rect>
  569.             <left>355</left>
  570.             <top>15</top>
  571.             <right>437</right>
  572.             <bottom>37</bottom>
  573.         </rect>
  574.         <style>roundrect</style>
  575.         <showName> <true /> </showName>
  576.         <highlight> <false /> </highlight>
  577.         <autoHighlight> <false /> </autoHighlight>
  578.         <sharedHighlight> <true /> </sharedHighlight>
  579.         <family>0</family>
  580.         <titleWidth>0</titleWidth>
  581.         <icon>0</icon>
  582.         <textAlign>center</textAlign>
  583.         <font>Chicago Gray</font>
  584.         <textSize>12</textSize>
  585.         <textStyle>plain</textStyle>
  586.         <name>Go</name>
  587.         <script>on mouseUpget textfont of meif it is "chicago gray" then exit mouseUpstacktostackend mouseUp</script>
  588.     </part>
  589.     <part>
  590.         <id>40</id>
  591.         <type>field</type>
  592.         <visible> <true /> </visible>
  593.         <dontWrap> <false /> </dontWrap>
  594.         <dontSearch> <false /> </dontSearch>
  595.         <sharedText> <false /> </sharedText>
  596.         <fixedLineHeight> <false /> </fixedLineHeight>
  597.         <autoTab> <false /> </autoTab>
  598.         <lockText> <true /> </lockText>
  599.         <rect>
  600.             <left>379</left>
  601.             <top>173</top>
  602.             <right>411</right>
  603.             <bottom>190</bottom>
  604.         </rect>
  605.         <style>rectangle</style>
  606.         <autoSelect> <false /> </autoSelect>
  607.         <showLines> <false /> </showLines>
  608.         <wideMargins> <false /> </wideMargins>
  609.         <multipleLines> <false /> </multipleLines>
  610.         <reservedFamily> 0 </reservedFamily>
  611.         <titleWidth>0</titleWidth>
  612.         <icon>0</icon>
  613.         <textAlign>center</textAlign>
  614.         <font>Chicago</font>
  615.         <textSize>12</textSize>
  616.         <textStyle>plain</textStyle>
  617.         <textHeight>16</textHeight>
  618.         <name>Field Delimiter</name>
  619.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  620.     </part>
  621.     <part>
  622.         <id>42</id>
  623.         <type>field</type>
  624.         <visible> <true /> </visible>
  625.         <dontWrap> <false /> </dontWrap>
  626.         <dontSearch> <true /> </dontSearch>
  627.         <sharedText> <false /> </sharedText>
  628.         <fixedLineHeight> <false /> </fixedLineHeight>
  629.         <autoTab> <false /> </autoTab>
  630.         <lockText> <true /> </lockText>
  631.         <rect>
  632.             <left>366</left>
  633.             <top>142</top>
  634.             <right>426</right>
  635.             <bottom>168</bottom>
  636.         </rect>
  637.         <style>transparent</style>
  638.         <autoSelect> <false /> </autoSelect>
  639.         <showLines> <false /> </showLines>
  640.         <wideMargins> <false /> </wideMargins>
  641.         <multipleLines> <false /> </multipleLines>
  642.         <reservedFamily> 0 </reservedFamily>
  643.         <titleWidth>0</titleWidth>
  644.         <icon>0</icon>
  645.         <textAlign>center</textAlign>
  646.         <font>Geneva</font>
  647.         <textSize>9</textSize>
  648.         <textStyle>bold</textStyle>
  649.         <textHeight>16</textHeight>
  650.         <name>Field Delimiter Label</name>
  651.         <script></script>
  652.     </part>
  653.     <part>
  654.         <id>43</id>
  655.         <type>field</type>
  656.         <visible> <true /> </visible>
  657.         <dontWrap> <false /> </dontWrap>
  658.         <dontSearch> <false /> </dontSearch>
  659.         <sharedText> <false /> </sharedText>
  660.         <fixedLineHeight> <false /> </fixedLineHeight>
  661.         <autoTab> <false /> </autoTab>
  662.         <lockText> <true /> </lockText>
  663.         <rect>
  664.             <left>381</left>
  665.             <top>231</top>
  666.             <right>413</right>
  667.             <bottom>249</bottom>
  668.         </rect>
  669.         <style>rectangle</style>
  670.         <autoSelect> <false /> </autoSelect>
  671.         <showLines> <false /> </showLines>
  672.         <wideMargins> <false /> </wideMargins>
  673.         <multipleLines> <false /> </multipleLines>
  674.         <reservedFamily> 0 </reservedFamily>
  675.         <titleWidth>0</titleWidth>
  676.         <icon>0</icon>
  677.         <textAlign>center</textAlign>
  678.         <font>Chicago</font>
  679.         <textSize>12</textSize>
  680.         <textStyle>plain</textStyle>
  681.         <textHeight>16</textHeight>
  682.         <name>Record Delimiter</name>
  683.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  684.     </part>
  685.     <part>
  686.         <id>44</id>
  687.         <type>field</type>
  688.         <visible> <true /> </visible>
  689.         <dontWrap> <false /> </dontWrap>
  690.         <dontSearch> <true /> </dontSearch>
  691.         <sharedText> <false /> </sharedText>
  692.         <fixedLineHeight> <false /> </fixedLineHeight>
  693.         <autoTab> <false /> </autoTab>
  694.         <lockText> <true /> </lockText>
  695.         <rect>
  696.             <left>368</left>
  697.             <top>202</top>
  698.             <right>427</right>
  699.             <bottom>227</bottom>
  700.         </rect>
  701.         <style>transparent</style>
  702.         <autoSelect> <false /> </autoSelect>
  703.         <showLines> <false /> </showLines>
  704.         <wideMargins> <false /> </wideMargins>
  705.         <multipleLines> <false /> </multipleLines>
  706.         <reservedFamily> 0 </reservedFamily>
  707.         <titleWidth>0</titleWidth>
  708.         <icon>0</icon>
  709.         <textAlign>center</textAlign>
  710.         <font>Geneva</font>
  711.         <textSize>9</textSize>
  712.         <textStyle>bold</textStyle>
  713.         <textHeight>16</textHeight>
  714.         <name>Record Delimiter Label</name>
  715.         <script></script>
  716.     </part>
  717.     <part>
  718.         <id>28</id>
  719.         <type>button</type>
  720.         <visible> <true /> </visible>
  721.         <reserved5> 0 </reserved5>
  722.         <reserved4> 0 </reserved4>
  723.         <reserved3> 0 </reserved3>
  724.         <reserved2> 0 </reserved2>
  725.         <reserved1> 0 </reserved1>
  726.         <enabled> <true /> </enabled>
  727.         <rect>
  728.             <left>410</left>
  729.             <top>269</top>
  730.             <right>442</right>
  731.             <bottom>290</bottom>
  732.         </rect>
  733.         <style>transparent</style>
  734.         <showName> <false /> </showName>
  735.         <highlight> <false /> </highlight>
  736.         <autoHighlight> <false /> </autoHighlight>
  737.         <sharedHighlight> <true /> </sharedHighlight>
  738.         <family>0</family>
  739.         <titleWidth>0</titleWidth>
  740.         <icon>23753</icon>
  741.         <textAlign>center</textAlign>
  742.         <font>Chicago</font>
  743.         <textSize>12</textSize>
  744.         <textStyle>plain</textStyle>
  745.         <name>Illuminate</name>
  746.         <script></script>
  747.     </part>
  748.     <part>
  749.         <id>27</id>
  750.         <type>button</type>
  751.         <visible> <true /> </visible>
  752.         <reserved5> 0 </reserved5>
  753.         <reserved4> 0 </reserved4>
  754.         <reserved3> 0 </reserved3>
  755.         <reserved2> 0 </reserved2>
  756.         <reserved1> 0 </reserved1>
  757.         <enabled> <true /> </enabled>
  758.         <rect>
  759.             <left>409</left>
  760.             <top>270</top>
  761.             <right>442</right>
  762.             <bottom>290</bottom>
  763.         </rect>
  764.         <style>transparent</style>
  765.         <showName> <false /> </showName>
  766.         <highlight> <false /> </highlight>
  767.         <autoHighlight> <true /> </autoHighlight>
  768.         <sharedHighlight> <true /> </sharedHighlight>
  769.         <family>0</family>
  770.         <titleWidth>0</titleWidth>
  771.         <icon>0</icon>
  772.         <textAlign>center</textAlign>
  773.         <font>Palatino</font>
  774.         <textSize>12</textSize>
  775.         <textStyle>plain</textStyle>
  776.         <name>About Hiliter</name>
  777.         <script>on mouseUp-- Requires handler: toggleTip-- card field "Hidden" is a hidden field containing the tip infolock screenset the visible of cd fld "Hidden" to trueset scroll of cd fld "hidden" to 0unlock screen with visual zoom open fastend mouseUp</script>
  778.     </part>
  779.     <part>
  780.         <id>62</id>
  781.         <type>field</type>
  782.         <visible> <true /> </visible>
  783.         <dontWrap> <false /> </dontWrap>
  784.         <dontSearch> <false /> </dontSearch>
  785.         <sharedText> <false /> </sharedText>
  786.         <fixedLineHeight> <false /> </fixedLineHeight>
  787.         <autoTab> <false /> </autoTab>
  788.         <lockText> <true /> </lockText>
  789.         <rect>
  790.             <left>182</left>
  791.             <top>48</top>
  792.             <right>319</right>
  793.             <bottom>67</bottom>
  794.         </rect>
  795.         <style>shadow</style>
  796.         <autoSelect> <false /> </autoSelect>
  797.         <showLines> <false /> </showLines>
  798.         <wideMargins> <false /> </wideMargins>
  799.         <multipleLines> <false /> </multipleLines>
  800.         <reservedFamily> 0 </reservedFamily>
  801.         <titleWidth>0</titleWidth>
  802.         <icon>0</icon>
  803.         <textAlign>left</textAlign>
  804.         <font>Chicago Gray</font>
  805.         <textSize>12</textSize>
  806.         <textStyle>condense</textStyle>
  807.         <textHeight>16</textHeight>
  808.         <name>jbackground to use</name>
  809.         <script>on mouseDownglobal jBackPopglobal jcurrentbkgndglobal jPopItemsglobal importstackglobal jBackItemglobal jnumfieldsif textfont of me is "chicago gray" then exit mousedownput jbackitem into curmenuitemif curmenuitem is empty then put 1 into curmenuitemget PopUpMenu(jBackPop,curmenuitem,"","-1" ) -- display the pop-up menuset cursor to busyif it is empty then exit mouseDown -- nothing was selectedif item 1 of it is 0 then exit mouseDown -- nothing was selectedif item 1 of it is jbackitem then exit mousedownput item 1 of it into jbackitemput item 2 of it into medolock(true)if it is jbackitem then exit mousedownput me into tempput cd fld "fields to ignore" of cd "parameters" into ignoresput replace(return,",",ignores) into ignoresput the name of this card into cardidpush cardgo to importstackget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into jnumfieldsput char temp1 to length(it) of it into jPopItemsif jnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(importstack)&"ΓÇ¥ has no background fields!"myPop(cardid)DisableFieldselsemyPop(cardid)testenableend ifset cursor to busyget replace("[checkmark]","[]",jBackPop)put replace(temp&"[]",temp&"[checkmark]",it) into jBackPopdolock(false)end mouseDown</script>
  810.     </part>
  811.     <part>
  812.         <id>87</id>
  813.         <type>field</type>
  814.         <visible> <true /> </visible>
  815.         <dontWrap> <false /> </dontWrap>
  816.         <dontSearch> <false /> </dontSearch>
  817.         <sharedText> <false /> </sharedText>
  818.         <fixedLineHeight> <false /> </fixedLineHeight>
  819.         <autoTab> <false /> </autoTab>
  820.         <lockText> <true /> </lockText>
  821.         <rect>
  822.             <left>26</left>
  823.             <top>29</top>
  824.             <right>138</right>
  825.             <bottom>43</bottom>
  826.         </rect>
  827.         <style>transparent</style>
  828.         <autoSelect> <false /> </autoSelect>
  829.         <showLines> <false /> </showLines>
  830.         <wideMargins> <false /> </wideMargins>
  831.         <multipleLines> <false /> </multipleLines>
  832.         <reservedFamily> 0 </reservedFamily>
  833.         <titleWidth>0</titleWidth>
  834.         <icon>0</icon>
  835.         <textAlign>left</textAlign>
  836.         <font>Geneva</font>
  837.         <textSize>9</textSize>
  838.         <textStyle>condense</textStyle>
  839.         <textStyle>bold</textStyle>
  840.         <textHeight>12</textHeight>
  841.         <name>iStack Name</name>
  842.         <script></script>
  843.     </part>
  844.     <part>
  845.         <id>88</id>
  846.         <type>field</type>
  847.         <visible> <true /> </visible>
  848.         <dontWrap> <false /> </dontWrap>
  849.         <dontSearch> <false /> </dontSearch>
  850.         <sharedText> <false /> </sharedText>
  851.         <fixedLineHeight> <false /> </fixedLineHeight>
  852.         <autoTab> <false /> </autoTab>
  853.         <lockText> <true /> </lockText>
  854.         <rect>
  855.             <left>204</left>
  856.             <top>29</top>
  857.             <right>317</right>
  858.             <bottom>44</bottom>
  859.         </rect>
  860.         <style>transparent</style>
  861.         <autoSelect> <false /> </autoSelect>
  862.         <showLines> <false /> </showLines>
  863.         <wideMargins> <false /> </wideMargins>
  864.         <multipleLines> <false /> </multipleLines>
  865.         <reservedFamily> 0 </reservedFamily>
  866.         <titleWidth>0</titleWidth>
  867.         <icon>0</icon>
  868.         <textAlign>left</textAlign>
  869.         <font>Geneva</font>
  870.         <textSize>9</textSize>
  871.         <textStyle>condense</textStyle>
  872.         <textStyle>bold</textStyle>
  873.         <textHeight>12</textHeight>
  874.         <name>jStack Name</name>
  875.         <script></script>
  876.     </part>
  877.     <part>
  878.         <id>91</id>
  879.         <type>field</type>
  880.         <visible> <true /> </visible>
  881.         <dontWrap> <false /> </dontWrap>
  882.         <dontSearch> <false /> </dontSearch>
  883.         <sharedText> <false /> </sharedText>
  884.         <fixedLineHeight> <false /> </fixedLineHeight>
  885.         <autoTab> <false /> </autoTab>
  886.         <lockText> <true /> </lockText>
  887.         <rect>
  888.             <left>4</left>
  889.             <top>47</top>
  890.             <right>140</right>
  891.             <bottom>66</bottom>
  892.         </rect>
  893.         <style>shadow</style>
  894.         <autoSelect> <false /> </autoSelect>
  895.         <showLines> <false /> </showLines>
  896.         <wideMargins> <false /> </wideMargins>
  897.         <multipleLines> <false /> </multipleLines>
  898.         <reservedFamily> 0 </reservedFamily>
  899.         <titleWidth>0</titleWidth>
  900.         <icon>0</icon>
  901.         <textAlign>left</textAlign>
  902.         <font>Chicago Gray</font>
  903.         <textSize>12</textSize>
  904.         <textStyle>condense</textStyle>
  905.         <textHeight>16</textHeight>
  906.         <name>iBackground to use</name>
  907.         <script>on mouseDownget textfont of meif it is "chicago gray" then exit mousedownglobal iBackPopglobal icurrentbkgndglobal iPopItemsglobal exportstackglobal iBackItemglobal dontCloseglobal inumfieldsput ibackitem into curmenuitemif curmenuitem is empty then put 1 into curmenuitemget PopUpMenu(iBackPop,curmenuitem,"","-1" ) -- display the pop-up menuset cursor to busyif it is empty then exit mouseDown -- nothing was selectedif item 1 of it is 0 then exit mouseDown -- nothing was selectedif item 1 of it is ibackitem then exit mousedownput item 2 of it into me -- replace the contents of the fielddolock(true)put item 1 of it into ibackitemput cd fld "fields to ignore"  of cd "parameters" into ignoresput replace(return,",",ignores) into ignoresput me into tempput the name of this card into cardidpush cardgo exportstackget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into inumfieldsput char temp1 to length(it) of it into iPopItemsif inumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(exportstack)&"ΓÇ¥ has no background fields!"myPop(cardid)DisableFieldselsemyPop(cardid)testenableend ifset cursor to busyput replace("checkmark","",iBackPop) into iBackPopput replace(me&"[]",me&"[checkmark]",ibackpop) into iBackpopdolock(false)end mouseDown</script>
  908.     </part>
  909.     <part>
  910.         <id>93</id>
  911.         <type>button</type>
  912.         <visible> <true /> </visible>
  913.         <reserved5> 0 </reserved5>
  914.         <reserved4> 0 </reserved4>
  915.         <reserved3> 0 </reserved3>
  916.         <reserved2> 0 </reserved2>
  917.         <reserved1> 0 </reserved1>
  918.         <enabled> <true /> </enabled>
  919.         <rect>
  920.             <left>25</left>
  921.             <top>2</top>
  922.             <right>126</right>
  923.             <bottom>25</bottom>
  924.         </rect>
  925.         <style>roundrect</style>
  926.         <showName> <true /> </showName>
  927.         <highlight> <false /> </highlight>
  928.         <autoHighlight> <true /> </autoHighlight>
  929.         <sharedHighlight> <true /> </sharedHighlight>
  930.         <family>0</family>
  931.         <titleWidth>0</titleWidth>
  932.         <icon>0</icon>
  933.         <textAlign>center</textAlign>
  934.         <font>Chicago</font>
  935.         <textSize>12</textSize>
  936.         <textStyle>plain</textStyle>
  937.         <name>Open Stack</name>
  938.         <script>on mouseUpglobal exportstackglobal ibackPopglobal iPopItemsglobal ibackitemglobal inumfieldsif the short name of me is "Open Stack" thenanswer file "Import fields from which stack?" of type "STAK" -- Γêåif it is empty or the result is "Cancel" thendisableitems("i")testenableput empty into message boxexit MouseUpend ifput it into exportstackset cursor to busyput "Getting information from stack..." into message boxdolock(true)put leafname(exportstack) into cd fld "iStack Name"put cd fld "fields to ignore" of cd "parameters" into Ignoresput replace(return,",",ignores) into ignoresput the name of this card into cardidpush cardset cursor to busygo exportstackput getforeignbkgnds() into ibackPopput char 1 to (offset("[",iBackPop) -1) of ibackPop into tempget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into inumfieldsput char temp1 to length(it) of it into iPopItemsif inumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(exportstack)&"ΓÇ¥ has no background fields!"lock screenDisableFieldsend ifmyPop(cardid)put temp into cd field "ibackground to use"put 1 into ibackitemenableItems("i")testenabledolock(false)put empty into message boxelse if the short name of me is "Close Stack" thendisableitems("i")testenableend ifend mouseUp</script>
  939.     </part>
  940.     <part>
  941.         <id>94</id>
  942.         <type>button</type>
  943.         <visible> <true /> </visible>
  944.         <reserved5> 0 </reserved5>
  945.         <reserved4> 0 </reserved4>
  946.         <reserved3> 0 </reserved3>
  947.         <reserved2> 0 </reserved2>
  948.         <reserved1> 0 </reserved1>
  949.         <enabled> <true /> </enabled>
  950.         <rect>
  951.             <left>203</left>
  952.             <top>3</top>
  953.             <right>304</right>
  954.             <bottom>26</bottom>
  955.         </rect>
  956.         <style>roundrect</style>
  957.         <showName> <true /> </showName>
  958.         <highlight> <false /> </highlight>
  959.         <autoHighlight> <true /> </autoHighlight>
  960.         <sharedHighlight> <true /> </sharedHighlight>
  961.         <family>0</family>
  962.         <titleWidth>0</titleWidth>
  963.         <icon>0</icon>
  964.         <textAlign>center</textAlign>
  965.         <font>Chicago</font>
  966.         <textSize>12</textSize>
  967.         <textStyle>plain</textStyle>
  968.         <name>Open Stack</name>
  969.         <script>on mouseUpglobal importstackglobal jbackPopglobal jPopItemsglobal jbackitemglobal jnumfieldsif the short name of me is "Open Stack" thenanswer file "Export fields into which stack?" of type "STAK" -- Γêåif it is empty or the result is "Cancel" thendisableitems("j")testenableput empty into message boxexit MouseUpend ifput it into importstackset cursor to busyput "Getting information from stack..." into message boxdolock(true)put leafname(importstack) into cd fld "jStack Name"put cd fld "fields to ignore" of cd "parameters" into Ignoresput replace(return,",",ignores) into ignoresput the name of this card into cardidpush cardset cursor to busygo importstackput getforeignbkgnds() into jbackPopput char 1 to (offset("[",jBackPop) -1) of jbackPop into tempget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into jnumfieldsput char temp1 to length(it) of it into jPopItemsif jnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(importstack)&"ΓÇ¥ has no background fields!"lock screenDisableFieldsend ifmyPop(cardid)put temp into cd field "jbackground to use"put 1 into jbackitemenableItems("j")testenabledolock(false)put empty into message boxelse if the short name of me is "Close Stack" thenlock screendisableitems("j")testenableend ifend mouseUp</script>
  970.     </part>
  971.     <part>
  972.         <id>116</id>
  973.         <type>button</type>
  974.         <visible> <true /> </visible>
  975.         <reserved5> 0 </reserved5>
  976.         <reserved4> 0 </reserved4>
  977.         <reserved3> 0 </reserved3>
  978.         <reserved2> 0 </reserved2>
  979.         <reserved1> 0 </reserved1>
  980.         <enabled> <true /> </enabled>
  981.         <rect>
  982.             <left>356</left>
  983.             <top>69</top>
  984.             <right>377</right>
  985.             <bottom>88</bottom>
  986.         </rect>
  987.         <style>transparent</style>
  988.         <showName> <false /> </showName>
  989.         <highlight> <false /> </highlight>
  990.         <autoHighlight> <false /> </autoHighlight>
  991.         <sharedHighlight> <true /> </sharedHighlight>
  992.         <family>0</family>
  993.         <titleWidth>0</titleWidth>
  994.         <icon>1000</icon>
  995.         <textAlign>center</textAlign>
  996.         <font>Chicago</font>
  997.         <textSize>12</textSize>
  998.         <textStyle>plain</textStyle>
  999.         <name>Label</name>
  1000.         <script></script>
  1001.     </part>
  1002.     <part>
  1003.         <id>115</id>
  1004.         <type>button</type>
  1005.         <visible> <true /> </visible>
  1006.         <reserved5> 0 </reserved5>
  1007.         <reserved4> 0 </reserved4>
  1008.         <reserved3> 0 </reserved3>
  1009.         <reserved2> 0 </reserved2>
  1010.         <reserved1> 0 </reserved1>
  1011.         <enabled> <true /> </enabled>
  1012.         <rect>
  1013.             <left>410</left>
  1014.             <top>69</top>
  1015.             <right>431</right>
  1016.             <bottom>88</bottom>
  1017.         </rect>
  1018.         <style>transparent</style>
  1019.         <showName> <false /> </showName>
  1020.         <highlight> <false /> </highlight>
  1021.         <autoHighlight> <false /> </autoHighlight>
  1022.         <sharedHighlight> <true /> </sharedHighlight>
  1023.         <family>0</family>
  1024.         <titleWidth>0</titleWidth>
  1025.         <icon>1000</icon>
  1026.         <textAlign>center</textAlign>
  1027.         <font>Chicago</font>
  1028.         <textSize>12</textSize>
  1029.         <textStyle>plain</textStyle>
  1030.         <name>Label</name>
  1031.         <script></script>
  1032.     </part>
  1033.     <part>
  1034.         <id>119</id>
  1035.         <type>button</type>
  1036.         <visible> <false /> </visible>
  1037.         <reserved5> 0 </reserved5>
  1038.         <reserved4> 0 </reserved4>
  1039.         <reserved3> 0 </reserved3>
  1040.         <reserved2> 0 </reserved2>
  1041.         <reserved1> 0 </reserved1>
  1042.         <enabled> <true /> </enabled>
  1043.         <rect>
  1044.             <left>5</left>
  1045.             <top>27</top>
  1046.             <right>26</right>
  1047.             <bottom>46</bottom>
  1048.         </rect>
  1049.         <style>transparent</style>
  1050.         <showName> <false /> </showName>
  1051.         <highlight> <false /> </highlight>
  1052.         <autoHighlight> <false /> </autoHighlight>
  1053.         <sharedHighlight> <true /> </sharedHighlight>
  1054.         <family>0</family>
  1055.         <titleWidth>0</titleWidth>
  1056.         <icon>1000</icon>
  1057.         <textAlign>center</textAlign>
  1058.         <font>Chicago</font>
  1059.         <textSize>12</textSize>
  1060.         <textStyle>plain</textStyle>
  1061.         <name>iStack Chosen Label</name>
  1062.         <script></script>
  1063.     </part>
  1064.     <part>
  1065.         <id>69</id>
  1066.         <type>field</type>
  1067.         <visible> <true /> </visible>
  1068.         <dontWrap> <true /> </dontWrap>
  1069.         <dontSearch> <false /> </dontSearch>
  1070.         <sharedText> <false /> </sharedText>
  1071.         <fixedLineHeight> <true /> </fixedLineHeight>
  1072.         <autoTab> <false /> </autoTab>
  1073.         <lockText> <true /> </lockText>
  1074.         <rect>
  1075.             <left>139</left>
  1076.             <top>69</top>
  1077.             <right>186</right>
  1078.             <bottom>278</bottom>
  1079.         </rect>
  1080.         <style>rectangle</style>
  1081.         <autoSelect> <false /> </autoSelect>
  1082.         <showLines> <false /> </showLines>
  1083.         <wideMargins> <false /> </wideMargins>
  1084.         <multipleLines> <false /> </multipleLines>
  1085.         <reservedFamily> 0 </reservedFamily>
  1086.         <titleWidth>0</titleWidth>
  1087.         <icon>0</icon>
  1088.         <textAlign>left</textAlign>
  1089.         <font>Geneva</font>
  1090.         <textSize>10</textSize>
  1091.         <textStyle>plain</textStyle>
  1092.         <textHeight>16</textHeight>
  1093.         <name>Field to Field</name>
  1094.         <script></script>
  1095.     </part>
  1096.     <part>
  1097.         <id>118</id>
  1098.         <type>button</type>
  1099.         <visible> <false /> </visible>
  1100.         <reserved5> 0 </reserved5>
  1101.         <reserved4> 0 </reserved4>
  1102.         <reserved3> 0 </reserved3>
  1103.         <reserved2> 0 </reserved2>
  1104.         <reserved1> 0 </reserved1>
  1105.         <enabled> <true /> </enabled>
  1106.         <rect>
  1107.             <left>184</left>
  1108.             <top>28</top>
  1109.             <right>205</right>
  1110.             <bottom>47</bottom>
  1111.         </rect>
  1112.         <style>transparent</style>
  1113.         <showName> <false /> </showName>
  1114.         <highlight> <false /> </highlight>
  1115.         <autoHighlight> <false /> </autoHighlight>
  1116.         <sharedHighlight> <true /> </sharedHighlight>
  1117.         <family>0</family>
  1118.         <titleWidth>0</titleWidth>
  1119.         <icon>1000</icon>
  1120.         <textAlign>center</textAlign>
  1121.         <font>Chicago</font>
  1122.         <textSize>12</textSize>
  1123.         <textStyle>plain</textStyle>
  1124.         <name>jStack Chosen Label</name>
  1125.         <script></script>
  1126.     </part>
  1127.     <part>
  1128.         <id>112</id>
  1129.         <type>button</type>
  1130.         <visible> <false /> </visible>
  1131.         <reserved5> 0 </reserved5>
  1132.         <reserved4> 0 </reserved4>
  1133.         <reserved3> 0 </reserved3>
  1134.         <reserved2> 0 </reserved2>
  1135.         <reserved1> 0 </reserved1>
  1136.         <enabled> <true /> </enabled>
  1137.         <rect>
  1138.             <left>317</left>
  1139.             <top>69</top>
  1140.             <right>335</right>
  1141.             <bottom>278</bottom>
  1142.         </rect>
  1143.         <style>transparent</style>
  1144.         <showName> <false /> </showName>
  1145.         <highlight> <false /> </highlight>
  1146.         <autoHighlight> <false /> </autoHighlight>
  1147.         <sharedHighlight> <true /> </sharedHighlight>
  1148.         <family>0</family>
  1149.         <titleWidth>0</titleWidth>
  1150.         <icon>0</icon>
  1151.         <textAlign>center</textAlign>
  1152.         <font>Chicago</font>
  1153.         <textSize>12</textSize>
  1154.         <textStyle>plain</textStyle>
  1155.         <name>MultiScroll</name>
  1156.         <script>on mouseDownglobal initScrollput the rect of me into myRectMultiScroll myRect,"72,card","71,card"put the scroll of card field id 72 into initScrollend mouseDownon mouseWithinMultiScroll Initend mouseWithinon mouseLeaveMultiScroll UnInitend mouseLeave</script>
  1157.     </part>
  1158.     <part>
  1159.         <id>121</id>
  1160.         <type>button</type>
  1161.         <visible> <true /> </visible>
  1162.         <reserved5> 0 </reserved5>
  1163.         <reserved4> 0 </reserved4>
  1164.         <reserved3> 0 </reserved3>
  1165.         <reserved2> 0 </reserved2>
  1166.         <reserved1> 0 </reserved1>
  1167.         <enabled> <true /> </enabled>
  1168.         <rect>
  1169.             <left>350</left>
  1170.             <top>265</top>
  1171.             <right>384</right>
  1172.             <bottom>293</bottom>
  1173.         </rect>
  1174.         <style>transparent</style>
  1175.         <showName> <false /> </showName>
  1176.         <highlight> <false /> </highlight>
  1177.         <autoHighlight> <false /> </autoHighlight>
  1178.         <sharedHighlight> <true /> </sharedHighlight>
  1179.         <family>0</family>
  1180.         <titleWidth>0</titleWidth>
  1181.         <icon>1011</icon>
  1182.         <textAlign>center</textAlign>
  1183.         <font>Chicago</font>
  1184.         <textSize>12</textSize>
  1185.         <textStyle>plain</textStyle>
  1186.         <name>Go Home</name>
  1187.         <script>on mouseUpgo homeend mouseUp</script>
  1188.     </part>
  1189.     <part>
  1190.         <id>109</id>
  1191.         <type>button</type>
  1192.         <visible> <false /> </visible>
  1193.         <reserved5> 0 </reserved5>
  1194.         <reserved4> 0 </reserved4>
  1195.         <reserved3> 0 </reserved3>
  1196.         <reserved2> 0 </reserved2>
  1197.         <reserved1> 0 </reserved1>
  1198.         <enabled> <true /> </enabled>
  1199.         <rect>
  1200.             <left>65529</left>
  1201.             <top>65528</top>
  1202.             <right>8</right>
  1203.             <bottom>8</bottom>
  1204.         </rect>
  1205.         <style>transparent</style>
  1206.         <showName> <false /> </showName>
  1207.         <highlight> <false /> </highlight>
  1208.         <autoHighlight> <false /> </autoHighlight>
  1209.         <sharedHighlight> <true /> </sharedHighlight>
  1210.         <family>0</family>
  1211.         <titleWidth>0</titleWidth>
  1212.         <icon>0</icon>
  1213.         <textAlign>center</textAlign>
  1214.         <font>Chicago</font>
  1215.         <textSize>12</textSize>
  1216.         <textStyle>plain</textStyle>
  1217.         <name>thumb</name>
  1218.         <script>on mouseDownglobal y1, ratio, inc, lineCount, x2hide button "page" -- hide page button alsohide button "thumb" -- hide the buttons so real scroll can take over-- set lockScreen to trueclick at the clickLocclick at the clickLoc  -- I don't know why you need 2 but it works-- program flow holds here until HyperCard finishes with scrolling-- the below captures scroll valueput the scroll of card field id 72 into lineScroll-- the below passes it on to other fieldset the scroll of card field id 71 to lineScroll-- the below translates lineScroll into thumb coordinateset loc of button "thumb" to x2,(trunc( lineScroll /1) + y1)show button "thumb" -- put buttons back upshow button "page"-- translate into lineCountput trunc( lineScroll / inc) into lineCountend mouseDown</script>
  1219.     </part>
  1220.     <part>
  1221.         <id>122</id>
  1222.         <type>button</type>
  1223.         <visible> <true /> </visible>
  1224.         <reserved5> 0 </reserved5>
  1225.         <reserved4> 0 </reserved4>
  1226.         <reserved3> 0 </reserved3>
  1227.         <reserved2> 0 </reserved2>
  1228.         <reserved1> 0 </reserved1>
  1229.         <enabled> <true /> </enabled>
  1230.         <rect>
  1231.             <left>357</left>
  1232.             <top>104</top>
  1233.             <right>393</right>
  1234.             <bottom>137</bottom>
  1235.         </rect>
  1236.         <style>transparent</style>
  1237.         <showName> <false /> </showName>
  1238.         <highlight> <false /> </highlight>
  1239.         <autoHighlight> <false /> </autoHighlight>
  1240.         <sharedHighlight> <true /> </sharedHighlight>
  1241.         <family>0</family>
  1242.         <titleWidth>0</titleWidth>
  1243.         <icon>20327</icon>
  1244.         <textAlign>center</textAlign>
  1245.         <font>Chicago</font>
  1246.         <textSize>12</textSize>
  1247.         <textStyle>plain</textStyle>
  1248.         <name>Load from Disk</name>
  1249.         <script>on mouseUpif short name of cd button id 93 is "Close Stack"┬¼and short name of cd button id 94 is "close Stack" thenanswer file "Load fieldname lists from:" of type TEXTif it Γëá empty thenput it into listnameput numtochar (3) into listendlock screenopen file listnameread from file listname until listendput it into tempif number of lines of temp = number of lines of ┬¼cd fld "istack fields" thenput char 1 to (length of it - 1) of temp into cd fld "istack fields"elsebeepanswer "This field list does not match these stacks!"close file listnameexit MouseUpend ifread from file listname until listendput it into tempput char 1 to (length of it - 1) of temp into cd fld "jstack fields"close file listnameend ifelseexit mouseUpend ifend mouseUp</script>
  1250.     </part>
  1251.     <part>
  1252.         <id>123</id>
  1253.         <type>button</type>
  1254.         <visible> <true /> </visible>
  1255.         <reserved5> 0 </reserved5>
  1256.         <reserved4> 0 </reserved4>
  1257.         <reserved3> 0 </reserved3>
  1258.         <reserved2> 0 </reserved2>
  1259.         <reserved1> 0 </reserved1>
  1260.         <enabled> <true /> </enabled>
  1261.         <rect>
  1262.             <left>404</left>
  1263.             <top>105</top>
  1264.             <right>440</right>
  1265.             <bottom>138</bottom>
  1266.         </rect>
  1267.         <style>transparent</style>
  1268.         <showName> <false /> </showName>
  1269.         <highlight> <false /> </highlight>
  1270.         <autoHighlight> <false /> </autoHighlight>
  1271.         <sharedHighlight> <true /> </sharedHighlight>
  1272.         <family>0</family>
  1273.         <titleWidth>-106</titleWidth>
  1274.         <icon>-15648</icon>
  1275.         <textAlign>center</textAlign>
  1276.         <font>Chicago</font>
  1277.         <textSize>12</textSize>
  1278.         <textStyle>plain</textStyle>
  1279.         <name>Save to Disk</name>
  1280.         <script>on mouseUpif short name of cd button id 93 is "Close Stack"┬¼and short name of cd button id 94 is "close Stack" thenask file "Save this fieldname list as:"if it Γëá empty thenput it into filenameput numtochar (3) into listendopen file filenamewrite cd fld "istack fields" & listend to file filenamewrite cd fld "jstack fields" & listend to file filenameclose file filenameend ifelseexit mouseUpend ifend mouseUp</script>
  1281.     </part>
  1282.     <part>
  1283.         <id>30</id>
  1284.         <type>field</type>
  1285.         <visible> <false /> </visible>
  1286.         <dontWrap> <false /> </dontWrap>
  1287.         <dontSearch> <false /> </dontSearch>
  1288.         <sharedText> <false /> </sharedText>
  1289.         <fixedLineHeight> <false /> </fixedLineHeight>
  1290.         <autoTab> <false /> </autoTab>
  1291.         <lockText> <true /> </lockText>
  1292.         <rect>
  1293.             <left>0</left>
  1294.             <top>1</top>
  1295.             <right>448</right>
  1296.             <bottom>295</bottom>
  1297.         </rect>
  1298.         <style>scrolling</style>
  1299.         <autoSelect> <false /> </autoSelect>
  1300.         <showLines> <false /> </showLines>
  1301.         <wideMargins> <false /> </wideMargins>
  1302.         <multipleLines> <false /> </multipleLines>
  1303.         <reservedFamily> 0 </reservedFamily>
  1304.         <titleWidth>0</titleWidth>
  1305.         <icon>0</icon>
  1306.         <textAlign>left</textAlign>
  1307.         <font>Geneva</font>
  1308.         <textSize>12</textSize>
  1309.         <textStyle>plain</textStyle>
  1310.         <textHeight>16</textHeight>
  1311.         <name>Hidden</name>
  1312.         <script>on mousedownset the visible of me to falseend mousedown</script>
  1313.     </part>
  1314.     <part>
  1315.         <id>126</id>
  1316.         <type>button</type>
  1317.         <visible> <false /> </visible>
  1318.         <reserved5> 0 </reserved5>
  1319.         <reserved4> 0 </reserved4>
  1320.         <reserved3> 0 </reserved3>
  1321.         <reserved2> 0 </reserved2>
  1322.         <reserved1> 0 </reserved1>
  1323.         <enabled> <true /> </enabled>
  1324.         <rect>
  1325.             <left>6</left>
  1326.             <top>279</top>
  1327.             <right>264</right>
  1328.             <bottom>296</bottom>
  1329.         </rect>
  1330.         <style>checkbox</style>
  1331.         <showName> <true /> </showName>
  1332.         <highlight> <false /> </highlight>
  1333.         <autoHighlight> <true /> </autoHighlight>
  1334.         <sharedHighlight> <true /> </sharedHighlight>
  1335.         <family>0</family>
  1336.         <titleWidth>0</titleWidth>
  1337.         <icon>0</icon>
  1338.         <textAlign>center</textAlign>
  1339.         <font>Geneva</font>
  1340.         <textSize>9</textSize>
  1341.         <textStyle>bold</textStyle>
  1342.         <name>Use RTF to Retain Styles? (Increases time)</name>
  1343.         <script></script>
  1344.     </part>
  1345.     <content>
  1346.         <layer>card</layer>
  1347.         <id>26</id>
  1348.         <text>rr</text>
  1349.     </content>
  1350.     <content>
  1351.         <layer>card</layer>
  1352.         <id>30</id>
  1353.         <text><span class="style38">                        Stack to Stack</span><span class="style14">ΓÇó Open the left ("from") stack and the right ("to") stack. You may change the selected background by using the pop-up menu under the stack name. The "field selection" fields beneath the background pop-ups will not show up until you have opened both stacks.ΓÇó Select the fieldnames to use. Each line of the "field selection" fields is a pop-up menu, and may be used to select the name of any field of the selected background. If you hold the mouse down and then release it, the line will revert to "None". Each field name selected on the left should have a corresponding field name selected on the right.ΓÇó If you wish to save the field lists you created for another transfer between the same stacks (or similiar stacks with identical field names) you can hit the button with the arrow pointing to the diskette. Likewise, you can load a saved field list by hitting the button with the arrow pointing away from the diskette. The Tools will alert you if the field list you have loaded does not match the stacks you have chosen.ΓÇó Field and record delimiters may be changed by selecting the "Parameters" item from the "Go To" menu. There is an ascii table to help you find a delimiter. The standard settings are field: tab (9) and record: return(13), but these will not work if you have carriage returns in text fields.ΓÇó After the stacks, backgrounds and field names have been selected, hit the </span><span class="style21">"Go"</span><span class="style14"> button to start the process. You may abort the process at any time by clicking the mouse.</span></text>
  1354.     </content>
  1355.     <content>
  1356.         <layer>card</layer>
  1357.         <id>42</id>
  1358.         <text>Field Delimiterer</text>
  1359.     </content>
  1360.     <content>
  1361.         <layer>card</layer>
  1362.         <id>44</id>
  1363.         <text>Record Delimiter</text>
  1364.     </content>
  1365.     <content>
  1366.         <layer>card</layer>
  1367.         <id>40</id>
  1368.         <text>9</text>
  1369.     </content>
  1370.     <content>
  1371.         <layer>card</layer>
  1372.         <id>43</id>
  1373.         <text>13</text>
  1374.     </content>
  1375.     <content>
  1376.         <layer>card</layer>
  1377.         <id>62</id>
  1378.         <text>file cards</text>
  1379.     </content>
  1380.     <content>
  1381.         <layer>card</layer>
  1382.         <id>91</id>
  1383.         <text>bkgnd id 3826</text>
  1384.     </content>
  1385.     <name>Stack -> Stack</name>
  1386.     <script>on idleglobal initScrollrepeat with i = 1 to 2get the scroll of card field iif it is not initScroll thenput it into initScrollMultiScroll it,"72,card","71,card"end ifend repeatpass idleend idleon arrowkey--trapend arrowkeyon opencardlock screenput cd fld "Field Delimiter" of cd┬¼"parameters" into cd fld "Field Delimiter"put cd fld "record delimiter" of cd┬¼"parameters" into cd fld "record Delimiter"if RTFisHere() then set visible of cd Button id 126 to trueelseset visible of cd button id 126 to falseend ifend opencardon returnkeyif the visible of cd fld "hidden" is false then send mouseUp to cd button id 38elseclick at 50,50end ifend returnkey----------Import Text Operations-------------------------------------on importTextFile-- import text from a text file stored in the correct formatglobal filenameglobal importstackglobal exportstackglobal thejFieldglobal impbkgndglobal fieldendglobal recordendglobal ConvertRTFset cursor to busydolock(true)put "Setting up parameters for import..." into message boxopen file filenameput false into exitLoopgo importstackput leafname(importstack) into imfilego to last card of bkgnd impbkgndput 0 into ImpNumput the seconds into timenowput the number of items of thejField into NumImFieldsrepeat until exitLoopif the mouseClick thenanswer "Stop importing text?" with "No" or "Yes" -- Γêåif it is "Yes" then exit repeat -- jend ifsend "doMenu New Card" to HyperCardif not (exitloop) thenrepeat with rr = 1 to NumImFieldsput item rr of thejField into targetfieldif (NumImFields is 1) thenget readfile (filename, recordend)if it is empty thensend "doMenu Delete Card" to HyperCardput true into exitLoopexit repeatend ifelse if rr is 1 thenget readfile (filename, fieldend)if it is empty thensend "doMenu Delete Card" to HyperCardput true into exitLoopexit repeatend ifelse if rr < NumImFields thenget readfile (filename, fieldend)else if rr is NumImFields thenget readfile (filename, recordend)end ifput it into temprepeat while ((last char of temp is fieldend) or (last char of temp is recordend))delete last char of tempend repeatif targetfield Γëá empty then----------------------RTF-----------------------------if ConvertRTF thendo "get RTFtoField (temp, false, "&quote&targetfield&quote&")"if it <> "" thenanswer itput true into exitloopexit repeatend if----------------------------RTF-----------------------------elseif (targetfield contains "bkgnd field id") thenif ((targetfield is empty)  or (temp Γëá "true") or (temp Γëá "false")) thendo "put temp into "&targetfieldelsedo "put return&temp after "&targetfieldend ifelseif ((bkgnd field targetfield is empty)  or (temp Γëá "true") or (temp Γëá "false")) thendo "put temp into bkgnd field "&quote&targetfield&quoteelsedo "put return&temp after bkgnd field "&quote&targetfield&quoteend ifend ifend ifend ifend repeatend ifif not(exitloop) thenadd 1 to impnumput "Record "&impnum&&"imported into "&imfile into message boxend ifend repeatclose file fileNamebeepput "Transfer Done" into message boxend importTextFile----------------General Procedure--------------on stacktostack-- Requires handler: writeExportedTextput empty into message boxglobal exportstackglobal importstackglobal fieldendglobal recordendglobal filenameglobal Impbkgndglobal theifieldglobal thejfieldglobal ConvertRTFput false into ConvertRTFdolock(true)put cd fld "ibackground to use" into expbkgndput cd fld "jbackground to use" into impbkgndput numtochar of cd fld "Field Delimiter" into fieldendput numtochar of cd fld "record delimiter" into recordendput "TempExportFile" into fileNameput the name of this card into cardidif (the hilite of cd button id 126) then put true into ConvertRTFgetbkfieldspush cardgo first card of bkgnd expbkgnd of stack exportstackgo first card of bkgnd impbkgnd of stack importstackput true into useAllCardsanswer "Export which cards?" with "Cancel" or "Marked" or "All"if it is "Cancel" then exit stacktostackif it is "Marked" then put false into useAllCardsif (writeExportedText (fileName,expbkgnd,UseAllCards)) thenimporttextfileend ifmypop(cardid)dolock(false)put empty into message boxdisableitems idisableitems jtestenableend stacktostack--------------------  Export Text Operations  -------------------------function writeExportedText fileName,thisbkgnd,UseAllCardsglobal fieldendglobal recordendglobal theifieldglobal exportstackglobal ConvertRTFput leafname(exportstack) into exfilelock screengo exportstackopen file fileNameput false into ExitLoopif useAllCards thengo card 1 of bg thisbkgndput number of cards in this background into numCardselsego first marked cardput number of marked cards into numCardsend ifput the number of items in theiField into numfieldsput 0 into currentCardrepeat with currentCard = 1 to numCardsif the mouseClick thenanswer "Stop exporting text?" with "No" or "Yes" -- Γêåif it is "Yes" thenclose file fileNamereturn falseexit writeExportedTextend ifend ifset cursor to busyif short name of this background Γëá thisbkgnd then exit repeatput empty into TheTextrepeat with rr = 1 to numfieldsput item rr of theiField into targetfieldif (ConvertRTF) thenget fieldtoRTF(false, targetfield)if word 1 of it is "error" thenanswer itput true into exitloopexit repeatelseput it & fieldend after theTextend ifelseif (targetfield contains "bkgnd field id") thendo "get "&targetfieldelseget bkgnd fld targetfieldend ifput it & fieldend after theTextend ifend repeatput "Card "&currentCard&&"exported from "&exfile into message boxwrite theText&recordend to file fileNameif not useAllCards then go next marked cardelse go next card of this bkgndend repeatclose file fileNameunlock screenreturn trueend writeExportedText------------------------Utilties-----------------------------------on toggleTip visStatus,theFieldlock screenif visStatus thenput "open" into theVisEffect-- card field id theField is a hidden field on this cardset the scroll of cd fld id theField to 0 -- scroll to the topelse put "close" into theVisEffectset the visible of cd fld id theField to visStatusset the hilite of cd btn id (id of cd button "About Hiliter") to visStatus -- "about hiliter"unlock screen with visual zoom theVisEffectend toggleTipon GetBkFieldsglobal theiFieldglobal thejFieldput empty into theiFieldput empty into thejFieldrepeat with rr = 1 to (number of lines of cd fld "istack fields")put line rr of cd field "iStack Fields" into tempfieldif tempfield Γëá "None" and tempfield Γëá empty thenput tempfield & "," after theiFieldput line rr of cd field "jStack Fields" & "," after thejFieldelseend ifend repeatend getBkfieldson enableItems param1if param1 is "i" thenput "93" into param2put "87" into param3put "71" into param4elseput "94" into param2put "88" into param3put "72" into param4end ifdo "show cd button "&quote&param1&"stack Chosen Label"&quotedo "set name of cd button id "&param2&" to "&quote&"Close Stack"&quotedo "set the textfont of cd fld "&quote┬¼&param1&"background to use"&quote&" to chicago"return trueend enableItemson Disableitems param1if param1 is "i" thenput "93" into param2put "87" into param3put "71" into param4elseput "94" into param2put "88" into param3put "72" into param4end ifdo "hide cd button "&quote&param1&"stack Chosen Label"&quotedo "set name of cd button id "&param2&" to "&quote&"Open Stack"&quotedo "put empty into cd fld id "&param3do "put empty into cd fld id "&param4do "set the textfont of cd fld "&quote┬¼&param1&"background to use"&quote&" to chicago gray"return trueend DisableItemson Initfields number, zerocounterif zerocounter > 0 thenrepeat with rr = 1 to numberput "None" into line rr of cd field id 71put "None" into line rr of cd field id 72if (rr < 25) then put "----->" into line rr of cd field id 69end repeatend ifend initfieldsOn TestEnableglobal inumfields,jnumfieldslock screenif ((short name of cd button id 93 is "Close Stack") and ┬¼(short name of cd button id 94 is "Close Stack")) thenset textfont of cd button id 38 to chicagoset autohilite of cd button id 38 to trueset visible of cd button "multiscroll" to trueglobal initScrollput 0 into initScrollset the icon of cd button id 122 to "load from disk black"set the autohilite of cd button id 122 to trueset the icon of cd button id 123 to "save to disk black"set the autohilite of cd button id 123 to trueMultiScroll 0,"72,card","71,card"initfields max(inumfields,jnumfields), min(inumfields,jnumfields)elseset textfont of cd button id 38 to chicago grayset autohilite of cd button id 38 to falseput empty into cd fld "field to field"set visible of cd button "multiscroll" to falseset the icon of cd button id 122 to "load from disk grey"set the autohilite of cd button id 122 to falseset the icon of cd button id 123 to "save to disk grey"set the autohilite of cd button id 123 to falseput empty into cd fld id 71put empty into cd fld id 72end ifend testenableon DisableFieldsput empty into cd fld "field to field"set visible of cd button "multiscroll" to falseput empty into cd fld id 71put empty into cd fld id 72end DisableFields</script>
  1387. </card>
  1388.  
  1389.  
  1390. card_8359.xml
  1391. <?xml version="1.0" encoding="utf-8" ?>
  1392. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1393. <card>
  1394.     <id>8359</id>
  1395.     <filler1>0</filler1>
  1396.     <bitmap>BMAP_8669.pbm</bitmap>
  1397.     <cantDelete> <true /> </cantDelete>
  1398.     <showPict> <true /> </showPict>
  1399.     <dontSearch> <true /> </dontSearch>
  1400.     <owner>17972</owner>
  1401.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  1402.     <part>
  1403.         <id>26</id>
  1404.         <type>field</type>
  1405.         <visible> <true /> </visible>
  1406.         <dontWrap> <true /> </dontWrap>
  1407.         <dontSearch> <false /> </dontSearch>
  1408.         <sharedText> <false /> </sharedText>
  1409.         <fixedLineHeight> <false /> </fixedLineHeight>
  1410.         <autoTab> <false /> </autoTab>
  1411.         <lockText> <false /> </lockText>
  1412.         <rect>
  1413.             <left>460</left>
  1414.             <top>257</top>
  1415.             <right>492</right>
  1416.             <bottom>300</bottom>
  1417.         </rect>
  1418.         <style>rectangle</style>
  1419.         <autoSelect> <false /> </autoSelect>
  1420.         <showLines> <false /> </showLines>
  1421.         <wideMargins> <false /> </wideMargins>
  1422.         <multipleLines> <false /> </multipleLines>
  1423.         <reservedFamily> 0 </reservedFamily>
  1424.         <titleWidth>0</titleWidth>
  1425.         <icon>0</icon>
  1426.         <textAlign>left</textAlign>
  1427.         <font>Geneva</font>
  1428.         <textSize>12</textSize>
  1429.         <textStyle>plain</textStyle>
  1430.         <textHeight>16</textHeight>
  1431.         <name>Field Seps</name>
  1432.         <script>on mouseDownglobal PopItemsput PopItems into menuItemsget PopUpMenu( menuItems, curItem, ┬¼left of card window + left of me + 1, ┬¼top of card window + top of me + 1 ) -- display the pop-up menuif it is empty then exit mouseDown -- nothing was selectedput item it of menuItems into me -- replace the contents of the fieldend mouseDown</script>
  1433.     </part>
  1434.     <part>
  1435.         <id>38</id>
  1436.         <type>button</type>
  1437.         <visible> <true /> </visible>
  1438.         <reserved5> 0 </reserved5>
  1439.         <reserved4> 0 </reserved4>
  1440.         <reserved3> 0 </reserved3>
  1441.         <reserved2> 0 </reserved2>
  1442.         <reserved1> 0 </reserved1>
  1443.         <enabled> <true /> </enabled>
  1444.         <rect>
  1445.             <left>333</left>
  1446.             <top>17</top>
  1447.             <right>435</right>
  1448.             <bottom>41</bottom>
  1449.         </rect>
  1450.         <style>roundrect</style>
  1451.         <showName> <true /> </showName>
  1452.         <highlight> <false /> </highlight>
  1453.         <autoHighlight> <true /> </autoHighlight>
  1454.         <sharedHighlight> <true /> </sharedHighlight>
  1455.         <family>0</family>
  1456.         <titleWidth>0</titleWidth>
  1457.         <icon>0</icon>
  1458.         <textAlign>center</textAlign>
  1459.         <font>Chicago</font>
  1460.         <textSize>12</textSize>
  1461.         <textStyle>plain</textStyle>
  1462.         <name>Select Stack</name>
  1463.         <script>on mouseUpglobal exportStackglobal fbackPopglobal fPopItemsglobal fbackitemglobal fnumfieldsif the short name of me is "Select Stack" thenanswer file "Export text from which stack?" of type "STAK" -- Γêåif it is empty or the result is "Cancel" thendisableitemsput empty into message boxexit MouseUpend ifput it into exportstackset cursor to busydolock(true)put leafname(exportstack) into cd fld "Stack Name"put "Getting background names from "&cd fld "Stack Name" into message boxput cd fld "fields to ignore" of cd "Parameters" into Ignoresput replace(return,",",ignores) into ignoresput the name of this card into cardidpush cardgo exportstackput getforeignbkgnds() into fbackPopput "Getting background field names..." into message boxput char 1 to (offset("[",fBackPop) -1) of fbackPop into tempget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into fnumfieldsput char temp1 to length(it) of it into fPopItemsif fnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(exportstack)&"ΓÇ¥ has no background fields!"end ifmyPop(cardid)put temp into cd fld "background to use"put 1 into fbackitemenableItemsput "Initializing pop-up menus..." into message boxinitstackfieldsdolock(false)put "Select fields to use ..." into message boxelseexportTExtdisableItemsend ifend mouseUp</script>
  1464.     </part>
  1465.     <part>
  1466.         <id>40</id>
  1467.         <type>field</type>
  1468.         <visible> <true /> </visible>
  1469.         <dontWrap> <false /> </dontWrap>
  1470.         <dontSearch> <false /> </dontSearch>
  1471.         <sharedText> <false /> </sharedText>
  1472.         <fixedLineHeight> <false /> </fixedLineHeight>
  1473.         <autoTab> <false /> </autoTab>
  1474.         <lockText> <true /> </lockText>
  1475.         <rect>
  1476.             <left>366</left>
  1477.             <top>170</top>
  1478.             <right>398</right>
  1479.             <bottom>188</bottom>
  1480.         </rect>
  1481.         <style>rectangle</style>
  1482.         <autoSelect> <false /> </autoSelect>
  1483.         <showLines> <false /> </showLines>
  1484.         <wideMargins> <false /> </wideMargins>
  1485.         <multipleLines> <false /> </multipleLines>
  1486.         <reservedFamily> 0 </reservedFamily>
  1487.         <titleWidth>0</titleWidth>
  1488.         <icon>0</icon>
  1489.         <textAlign>center</textAlign>
  1490.         <font>Chicago</font>
  1491.         <textSize>12</textSize>
  1492.         <textStyle>plain</textStyle>
  1493.         <textHeight>16</textHeight>
  1494.         <name>Field Delimiter</name>
  1495.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  1496.     </part>
  1497.     <part>
  1498.         <id>42</id>
  1499.         <type>field</type>
  1500.         <visible> <true /> </visible>
  1501.         <dontWrap> <false /> </dontWrap>
  1502.         <dontSearch> <true /> </dontSearch>
  1503.         <sharedText> <false /> </sharedText>
  1504.         <fixedLineHeight> <false /> </fixedLineHeight>
  1505.         <autoTab> <false /> </autoTab>
  1506.         <lockText> <true /> </lockText>
  1507.         <rect>
  1508.             <left>358</left>
  1509.             <top>139</top>
  1510.             <right>407</right>
  1511.             <bottom>165</bottom>
  1512.         </rect>
  1513.         <style>transparent</style>
  1514.         <autoSelect> <false /> </autoSelect>
  1515.         <showLines> <false /> </showLines>
  1516.         <wideMargins> <false /> </wideMargins>
  1517.         <multipleLines> <false /> </multipleLines>
  1518.         <reservedFamily> 0 </reservedFamily>
  1519.         <titleWidth>0</titleWidth>
  1520.         <icon>0</icon>
  1521.         <textAlign>center</textAlign>
  1522.         <font>Geneva</font>
  1523.         <textSize>9</textSize>
  1524.         <textStyle>bold</textStyle>
  1525.         <textHeight>16</textHeight>
  1526.         <name>Field Delimiter Label</name>
  1527.         <script></script>
  1528.     </part>
  1529.     <part>
  1530.         <id>43</id>
  1531.         <type>field</type>
  1532.         <visible> <true /> </visible>
  1533.         <dontWrap> <false /> </dontWrap>
  1534.         <dontSearch> <false /> </dontSearch>
  1535.         <sharedText> <false /> </sharedText>
  1536.         <fixedLineHeight> <false /> </fixedLineHeight>
  1537.         <autoTab> <false /> </autoTab>
  1538.         <lockText> <true /> </lockText>
  1539.         <rect>
  1540.             <left>365</left>
  1541.             <top>226</top>
  1542.             <right>397</right>
  1543.             <bottom>244</bottom>
  1544.         </rect>
  1545.         <style>rectangle</style>
  1546.         <autoSelect> <false /> </autoSelect>
  1547.         <showLines> <false /> </showLines>
  1548.         <wideMargins> <false /> </wideMargins>
  1549.         <multipleLines> <false /> </multipleLines>
  1550.         <reservedFamily> 0 </reservedFamily>
  1551.         <titleWidth>0</titleWidth>
  1552.         <icon>0</icon>
  1553.         <textAlign>center</textAlign>
  1554.         <font>Chicago</font>
  1555.         <textSize>12</textSize>
  1556.         <textStyle>plain</textStyle>
  1557.         <textHeight>16</textHeight>
  1558.         <name>Record Delimiter</name>
  1559.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  1560.     </part>
  1561.     <part>
  1562.         <id>44</id>
  1563.         <type>field</type>
  1564.         <visible> <true /> </visible>
  1565.         <dontWrap> <false /> </dontWrap>
  1566.         <dontSearch> <true /> </dontSearch>
  1567.         <sharedText> <false /> </sharedText>
  1568.         <fixedLineHeight> <false /> </fixedLineHeight>
  1569.         <autoTab> <false /> </autoTab>
  1570.         <lockText> <true /> </lockText>
  1571.         <rect>
  1572.             <left>358</left>
  1573.             <top>195</top>
  1574.             <right>407</right>
  1575.             <bottom>221</bottom>
  1576.         </rect>
  1577.         <style>transparent</style>
  1578.         <autoSelect> <false /> </autoSelect>
  1579.         <showLines> <false /> </showLines>
  1580.         <wideMargins> <false /> </wideMargins>
  1581.         <multipleLines> <false /> </multipleLines>
  1582.         <reservedFamily> 0 </reservedFamily>
  1583.         <titleWidth>0</titleWidth>
  1584.         <icon>0</icon>
  1585.         <textAlign>center</textAlign>
  1586.         <font>Geneva</font>
  1587.         <textSize>9</textSize>
  1588.         <textStyle>bold</textStyle>
  1589.         <textHeight>16</textHeight>
  1590.         <name>Record Delimiter Label</name>
  1591.         <script></script>
  1592.     </part>
  1593.     <part>
  1594.         <id>48</id>
  1595.         <type>field</type>
  1596.         <visible> <true /> </visible>
  1597.         <dontWrap> <false /> </dontWrap>
  1598.         <dontSearch> <false /> </dontSearch>
  1599.         <sharedText> <false /> </sharedText>
  1600.         <fixedLineHeight> <false /> </fixedLineHeight>
  1601.         <autoTab> <false /> </autoTab>
  1602.         <lockText> <true /> </lockText>
  1603.         <rect>
  1604.             <left>4</left>
  1605.             <top>24</top>
  1606.             <right>193</right>
  1607.             <bottom>44</bottom>
  1608.         </rect>
  1609.         <style>shadow</style>
  1610.         <autoSelect> <false /> </autoSelect>
  1611.         <showLines> <false /> </showLines>
  1612.         <wideMargins> <false /> </wideMargins>
  1613.         <multipleLines> <false /> </multipleLines>
  1614.         <reservedFamily> 0 </reservedFamily>
  1615.         <titleWidth>0</titleWidth>
  1616.         <icon>0</icon>
  1617.         <textAlign>left</textAlign>
  1618.         <font>Chicago Gray</font>
  1619.         <textSize>12</textSize>
  1620.         <textStyle>condense</textStyle>
  1621.         <textHeight>16</textHeight>
  1622.         <name>Background to Use</name>
  1623.         <script>on mouseDownglobal fBackPopglobal fcurrentbkgndglobal fPopItemsglobal exportStackglobal fBackItemglobal fnumfieldsget the textfont of meif it is "chicago gray" then exit mouseDownput fbackitem into curmenuitemif curmenuitem is empty then put 1 into curmenuitemget PopUpMenu(fBackPop,curmenuitem,"","-1" ) -- display the pop-up menuset cursor to busyif item 1 of it is 0 then exit mouseDown -- nothing was selectedif item 1 of it is fbackitem then exit mousedownput item 2 of it into me -- replace the contents of the fielddolock(true)put item 1 of it into fbackitemput cd fld "fields to ignore" of cd "parameters" into ignoresput replace(return,",",ignores) into ignoresput me into tempput the name of this card into cardidpush cardgo to exportstackget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into fnumfieldsput char temp1 to length(it) of it into fPopItemsif fnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(exportstack)&"ΓÇ¥ has no background fields!"end ifmyPop(cardid)set cursor to busyinitstackfieldsput replace("checkmark","",fBackPop) into fBackPopput replace(me&"[]",me&"[checkmark]",fbackpop) into fBackpopdolock(false)end mouseDown</script>
  1624.     </part>
  1625.     <part>
  1626.         <id>28</id>
  1627.         <type>button</type>
  1628.         <visible> <true /> </visible>
  1629.         <reserved5> 0 </reserved5>
  1630.         <reserved4> 0 </reserved4>
  1631.         <reserved3> 0 </reserved3>
  1632.         <reserved2> 0 </reserved2>
  1633.         <reserved1> 0 </reserved1>
  1634.         <enabled> <true /> </enabled>
  1635.         <rect>
  1636.             <left>409</left>
  1637.             <top>270</top>
  1638.             <right>441</right>
  1639.             <bottom>291</bottom>
  1640.         </rect>
  1641.         <style>transparent</style>
  1642.         <showName> <false /> </showName>
  1643.         <highlight> <false /> </highlight>
  1644.         <autoHighlight> <false /> </autoHighlight>
  1645.         <sharedHighlight> <true /> </sharedHighlight>
  1646.         <family>0</family>
  1647.         <titleWidth>0</titleWidth>
  1648.         <icon>23753</icon>
  1649.         <textAlign>center</textAlign>
  1650.         <font>Chicago</font>
  1651.         <textSize>12</textSize>
  1652.         <textStyle>plain</textStyle>
  1653.         <name>Illuminate</name>
  1654.         <script></script>
  1655.     </part>
  1656.     <part>
  1657.         <id>27</id>
  1658.         <type>button</type>
  1659.         <visible> <true /> </visible>
  1660.         <reserved5> 0 </reserved5>
  1661.         <reserved4> 0 </reserved4>
  1662.         <reserved3> 0 </reserved3>
  1663.         <reserved2> 0 </reserved2>
  1664.         <reserved1> 0 </reserved1>
  1665.         <enabled> <true /> </enabled>
  1666.         <rect>
  1667.             <left>408</left>
  1668.             <top>270</top>
  1669.             <right>441</right>
  1670.             <bottom>290</bottom>
  1671.         </rect>
  1672.         <style>transparent</style>
  1673.         <showName> <false /> </showName>
  1674.         <highlight> <false /> </highlight>
  1675.         <autoHighlight> <true /> </autoHighlight>
  1676.         <sharedHighlight> <true /> </sharedHighlight>
  1677.         <family>0</family>
  1678.         <titleWidth>0</titleWidth>
  1679.         <icon>0</icon>
  1680.         <textAlign>center</textAlign>
  1681.         <font>Palatino</font>
  1682.         <textSize>12</textSize>
  1683.         <textStyle>plain</textStyle>
  1684.         <name>About Hiliter</name>
  1685.         <script>on mouseUp-- Requires handler: toggleTip-- card field "Hidden" is a hidden field containing the tip infolock screenset the visible of cd fld "Hidden" to trueset scroll of cd fld "hidden" to 0unlock screen with visual zoom open fastend mouseUp</script>
  1686.     </part>
  1687.     <part>
  1688.         <id>62</id>
  1689.         <type>field</type>
  1690.         <visible> <false /> </visible>
  1691.         <dontWrap> <false /> </dontWrap>
  1692.         <dontSearch> <false /> </dontSearch>
  1693.         <sharedText> <false /> </sharedText>
  1694.         <fixedLineHeight> <false /> </fixedLineHeight>
  1695.         <autoTab> <false /> </autoTab>
  1696.         <lockText> <true /> </lockText>
  1697.         <rect>
  1698.             <left>99</left>
  1699.             <top>69</top>
  1700.             <right>268</right>
  1701.             <bottom>87</bottom>
  1702.         </rect>
  1703.         <style>transparent</style>
  1704.         <autoSelect> <false /> </autoSelect>
  1705.         <showLines> <false /> </showLines>
  1706.         <wideMargins> <false /> </wideMargins>
  1707.         <multipleLines> <false /> </multipleLines>
  1708.         <reservedFamily> 0 </reservedFamily>
  1709.         <titleWidth>0</titleWidth>
  1710.         <icon>0</icon>
  1711.         <textAlign>left</textAlign>
  1712.         <font>Chicago</font>
  1713.         <textSize>12</textSize>
  1714.         <textStyle>plain</textStyle>
  1715.         <textHeight>16</textHeight>
  1716.         <name>Field Select Label</name>
  1717.         <script></script>
  1718.     </part>
  1719.     <part>
  1720.         <id>68</id>
  1721.         <type>button</type>
  1722.         <visible> <true /> </visible>
  1723.         <reserved5> 0 </reserved5>
  1724.         <reserved4> 0 </reserved4>
  1725.         <reserved3> 0 </reserved3>
  1726.         <reserved2> 0 </reserved2>
  1727.         <reserved1> 0 </reserved1>
  1728.         <enabled> <true /> </enabled>
  1729.         <rect>
  1730.             <left>339</left>
  1731.             <top>52</top>
  1732.             <right>430</right>
  1733.             <bottom>76</bottom>
  1734.         </rect>
  1735.         <style>roundrect</style>
  1736.         <showName> <true /> </showName>
  1737.         <highlight> <false /> </highlight>
  1738.         <autoHighlight> <false /> </autoHighlight>
  1739.         <sharedHighlight> <true /> </sharedHighlight>
  1740.         <family>0</family>
  1741.         <titleWidth>0</titleWidth>
  1742.         <icon>0</icon>
  1743.         <textAlign>center</textAlign>
  1744.         <font>Chicago Gray</font>
  1745.         <textSize>12</textSize>
  1746.         <textStyle>plain</textStyle>
  1747.         <name>Cancel</name>
  1748.         <script>on mouseUpget textfont of meif it is "chicago gray" then exit mouseUplock screendisableitemsput empty into message boxend mouseUp</script>
  1749.     </part>
  1750.     <part>
  1751.         <id>74</id>
  1752.         <type>button</type>
  1753.         <visible> <false /> </visible>
  1754.         <reserved5> 0 </reserved5>
  1755.         <reserved4> 0 </reserved4>
  1756.         <reserved3> 0 </reserved3>
  1757.         <reserved2> 0 </reserved2>
  1758.         <reserved1> 0 </reserved1>
  1759.         <enabled> <true /> </enabled>
  1760.         <rect>
  1761.             <left>9</left>
  1762.             <top>4</top>
  1763.             <right>30</right>
  1764.             <bottom>23</bottom>
  1765.         </rect>
  1766.         <style>transparent</style>
  1767.         <showName> <false /> </showName>
  1768.         <highlight> <false /> </highlight>
  1769.         <autoHighlight> <false /> </autoHighlight>
  1770.         <sharedHighlight> <true /> </sharedHighlight>
  1771.         <family>0</family>
  1772.         <titleWidth>0</titleWidth>
  1773.         <icon>1000</icon>
  1774.         <textAlign>center</textAlign>
  1775.         <font>Chicago</font>
  1776.         <textSize>12</textSize>
  1777.         <textStyle>plain</textStyle>
  1778.         <name>Stack Chosen Label</name>
  1779.         <script></script>
  1780.     </part>
  1781.     <part>
  1782.         <id>73</id>
  1783.         <type>field</type>
  1784.         <visible> <true /> </visible>
  1785.         <dontWrap> <false /> </dontWrap>
  1786.         <dontSearch> <false /> </dontSearch>
  1787.         <sharedText> <false /> </sharedText>
  1788.         <fixedLineHeight> <false /> </fixedLineHeight>
  1789.         <autoTab> <false /> </autoTab>
  1790.         <lockText> <true /> </lockText>
  1791.         <rect>
  1792.             <left>31</left>
  1793.             <top>6</top>
  1794.             <right>193</right>
  1795.             <bottom>21</bottom>
  1796.         </rect>
  1797.         <style>transparent</style>
  1798.         <autoSelect> <false /> </autoSelect>
  1799.         <showLines> <false /> </showLines>
  1800.         <wideMargins> <false /> </wideMargins>
  1801.         <multipleLines> <false /> </multipleLines>
  1802.         <reservedFamily> 0 </reservedFamily>
  1803.         <titleWidth>0</titleWidth>
  1804.         <icon>0</icon>
  1805.         <textAlign>left</textAlign>
  1806.         <font>Geneva</font>
  1807.         <textSize>10</textSize>
  1808.         <textStyle>bold</textStyle>
  1809.         <textHeight>13</textHeight>
  1810.         <name>Stack Name</name>
  1811.         <script></script>
  1812.     </part>
  1813.     <part>
  1814.         <id>72</id>
  1815.         <type>field</type>
  1816.         <visible> <true /> </visible>
  1817.         <dontWrap> <true /> </dontWrap>
  1818.         <dontSearch> <false /> </dontSearch>
  1819.         <sharedText> <false /> </sharedText>
  1820.         <fixedLineHeight> <true /> </fixedLineHeight>
  1821.         <autoTab> <false /> </autoTab>
  1822.         <lockText> <true /> </lockText>
  1823.         <rect>
  1824.             <left>7</left>
  1825.             <top>48</top>
  1826.             <right>192</right>
  1827.             <bottom>257</bottom>
  1828.         </rect>
  1829.         <style>scrolling</style>
  1830.         <autoSelect> <false /> </autoSelect>
  1831.         <showLines> <true /> </showLines>
  1832.         <wideMargins> <false /> </wideMargins>
  1833.         <multipleLines> <false /> </multipleLines>
  1834.         <reservedFamily> 0 </reservedFamily>
  1835.         <titleWidth>0</titleWidth>
  1836.         <icon>0</icon>
  1837.         <textAlign>left</textAlign>
  1838.         <font>Geneva</font>
  1839.         <textSize>10</textSize>
  1840.         <textStyle>plain</textStyle>
  1841.         <textHeight>16</textHeight>
  1842.         <name>eFields</name>
  1843.         <script>on mouseDownif cd fld "stack name" is empty then exit mousedownget the value of the clicklineif it is empty then exit mouseDownglobal fPopItemsget PopUpMenu(fPopItems,"1",left of me + 1,the MouseV + 12)if item 1 of it is 0 then exit mouseDown -- nothing was selectedput item 2 of it into the clickline -- replace the contents of the fieldend mouseDown</script>
  1844.     </part>
  1845.     <part>
  1846.         <id>77</id>
  1847.         <type>button</type>
  1848.         <visible> <true /> </visible>
  1849.         <reserved5> 0 </reserved5>
  1850.         <reserved4> 0 </reserved4>
  1851.         <reserved3> 0 </reserved3>
  1852.         <reserved2> 0 </reserved2>
  1853.         <reserved1> 0 </reserved1>
  1854.         <enabled> <true /> </enabled>
  1855.         <rect>
  1856.             <left>346</left>
  1857.             <top>89</top>
  1858.             <right>367</right>
  1859.             <bottom>108</bottom>
  1860.         </rect>
  1861.         <style>transparent</style>
  1862.         <showName> <false /> </showName>
  1863.         <highlight> <false /> </highlight>
  1864.         <autoHighlight> <false /> </autoHighlight>
  1865.         <sharedHighlight> <true /> </sharedHighlight>
  1866.         <family>0</family>
  1867.         <titleWidth>0</titleWidth>
  1868.         <icon>1000</icon>
  1869.         <textAlign>center</textAlign>
  1870.         <font>Chicago</font>
  1871.         <textSize>12</textSize>
  1872.         <textStyle>plain</textStyle>
  1873.         <name>Label</name>
  1874.         <script></script>
  1875.     </part>
  1876.     <part>
  1877.         <id>78</id>
  1878.         <type>button</type>
  1879.         <visible> <true /> </visible>
  1880.         <reserved5> 0 </reserved5>
  1881.         <reserved4> 0 </reserved4>
  1882.         <reserved3> 0 </reserved3>
  1883.         <reserved2> 0 </reserved2>
  1884.         <reserved1> 0 </reserved1>
  1885.         <enabled> <true /> </enabled>
  1886.         <rect>
  1887.             <left>397</left>
  1888.             <top>90</top>
  1889.             <right>421</right>
  1890.             <bottom>108</bottom>
  1891.         </rect>
  1892.         <style>transparent</style>
  1893.         <showName> <false /> </showName>
  1894.         <highlight> <false /> </highlight>
  1895.         <autoHighlight> <false /> </autoHighlight>
  1896.         <sharedHighlight> <true /> </sharedHighlight>
  1897.         <family>0</family>
  1898.         <titleWidth>0</titleWidth>
  1899.         <icon>12195</icon>
  1900.         <textAlign>center</textAlign>
  1901.         <font>Chicago</font>
  1902.         <textSize>12</textSize>
  1903.         <textStyle>plain</textStyle>
  1904.         <name>Label</name>
  1905.         <script></script>
  1906.     </part>
  1907.     <part>
  1908.         <id>80</id>
  1909.         <type>button</type>
  1910.         <visible> <true /> </visible>
  1911.         <reserved5> 0 </reserved5>
  1912.         <reserved4> 0 </reserved4>
  1913.         <reserved3> 0 </reserved3>
  1914.         <reserved2> 0 </reserved2>
  1915.         <reserved1> 0 </reserved1>
  1916.         <enabled> <true /> </enabled>
  1917.         <rect>
  1918.             <left>7</left>
  1919.             <top>259</top>
  1920.             <right>142</right>
  1921.             <bottom>277</bottom>
  1922.         </rect>
  1923.         <style>checkbox</style>
  1924.         <showName> <true /> </showName>
  1925.         <highlight> <true /> </highlight>
  1926.         <autoHighlight> <true /> </autoHighlight>
  1927.         <sharedHighlight> <true /> </sharedHighlight>
  1928.         <family>0</family>
  1929.         <titleWidth>0</titleWidth>
  1930.         <icon>0</icon>
  1931.         <textAlign>center</textAlign>
  1932.         <font>Geneva</font>
  1933.         <textSize>9</textSize>
  1934.         <textStyle>bold</textStyle>
  1935.         <name>Export Field Header?</name>
  1936.         <script></script>
  1937.     </part>
  1938.     <part>
  1939.         <id>81</id>
  1940.         <type>button</type>
  1941.         <visible> <true /> </visible>
  1942.         <reserved5> 0 </reserved5>
  1943.         <reserved4> 0 </reserved4>
  1944.         <reserved3> 0 </reserved3>
  1945.         <reserved2> 0 </reserved2>
  1946.         <reserved1> 0 </reserved1>
  1947.         <enabled> <true /> </enabled>
  1948.         <rect>
  1949.             <left>7</left>
  1950.             <top>279</top>
  1951.             <right>171</right>
  1952.             <bottom>295</bottom>
  1953.         </rect>
  1954.         <style>checkbox</style>
  1955.         <showName> <true /> </showName>
  1956.         <highlight> <false /> </highlight>
  1957.         <autoHighlight> <true /> </autoHighlight>
  1958.         <sharedHighlight> <true /> </sharedHighlight>
  1959.         <family>0</family>
  1960.         <titleWidth>0</titleWidth>
  1961.         <icon>0</icon>
  1962.         <textAlign>center</textAlign>
  1963.         <font>Geneva</font>
  1964.         <textSize>9</textSize>
  1965.         <textStyle>bold</textStyle>
  1966.         <name>Remove CR's from fields?</name>
  1967.         <script></script>
  1968.     </part>
  1969.     <part>
  1970.         <id>82</id>
  1971.         <type>button</type>
  1972.         <visible> <true /> </visible>
  1973.         <reserved5> 0 </reserved5>
  1974.         <reserved4> 0 </reserved4>
  1975.         <reserved3> 0 </reserved3>
  1976.         <reserved2> 0 </reserved2>
  1977.         <reserved1> 0 </reserved1>
  1978.         <enabled> <true /> </enabled>
  1979.         <rect>
  1980.             <left>199</left>
  1981.             <top>49</top>
  1982.             <right>305</right>
  1983.             <bottom>73</bottom>
  1984.         </rect>
  1985.         <style>roundrect</style>
  1986.         <showName> <true /> </showName>
  1987.         <highlight> <false /> </highlight>
  1988.         <autoHighlight> <false /> </autoHighlight>
  1989.         <sharedHighlight> <true /> </sharedHighlight>
  1990.         <family>0</family>
  1991.         <titleWidth>0</titleWidth>
  1992.         <icon>0</icon>
  1993.         <textAlign>center</textAlign>
  1994.         <font>Chicago Gray</font>
  1995.         <textSize>12</textSize>
  1996.         <textStyle>plain</textStyle>
  1997.         <name>Use All Fields</name>
  1998.         <script>on mouseUpif textfont of me is "chicago gray" then exit mouseUPglobal fPopITemsset cursor to busylock screeninitstackfieldsChooseAllFields fPopItems,"cd fld id 72"end mouseUp</script>
  1999.     </part>
  2000.     <part>
  2001.         <id>83</id>
  2002.         <type>button</type>
  2003.         <visible> <true /> </visible>
  2004.         <reserved5> 0 </reserved5>
  2005.         <reserved4> 0 </reserved4>
  2006.         <reserved3> 0 </reserved3>
  2007.         <reserved2> 0 </reserved2>
  2008.         <reserved1> 0 </reserved1>
  2009.         <enabled> <true /> </enabled>
  2010.         <rect>
  2011.             <left>339</left>
  2012.             <top>263</top>
  2013.             <right>371</right>
  2014.             <bottom>292</bottom>
  2015.         </rect>
  2016.         <style>transparent</style>
  2017.         <showName> <false /> </showName>
  2018.         <highlight> <false /> </highlight>
  2019.         <autoHighlight> <false /> </autoHighlight>
  2020.         <sharedHighlight> <true /> </sharedHighlight>
  2021.         <family>0</family>
  2022.         <titleWidth>0</titleWidth>
  2023.         <icon>1011</icon>
  2024.         <textAlign>center</textAlign>
  2025.         <font>Chicago</font>
  2026.         <textSize>12</textSize>
  2027.         <textStyle>plain</textStyle>
  2028.         <name>Go Home</name>
  2029.         <script>on mouseUpgo homeend mouseUp</script>
  2030.     </part>
  2031.     <part>
  2032.         <id>84</id>
  2033.         <type>button</type>
  2034.         <visible> <true /> </visible>
  2035.         <reserved5> 0 </reserved5>
  2036.         <reserved4> 0 </reserved4>
  2037.         <reserved3> 0 </reserved3>
  2038.         <reserved2> 0 </reserved2>
  2039.         <reserved1> 0 </reserved1>
  2040.         <enabled> <true /> </enabled>
  2041.         <rect>
  2042.             <left>205</left>
  2043.             <top>83</top>
  2044.             <right>241</right>
  2045.             <bottom>116</bottom>
  2046.         </rect>
  2047.         <style>transparent</style>
  2048.         <showName> <false /> </showName>
  2049.         <highlight> <false /> </highlight>
  2050.         <autoHighlight> <false /> </autoHighlight>
  2051.         <sharedHighlight> <true /> </sharedHighlight>
  2052.         <family>0</family>
  2053.         <titleWidth>0</titleWidth>
  2054.         <icon>20327</icon>
  2055.         <textAlign>center</textAlign>
  2056.         <font>Chicago</font>
  2057.         <textSize>12</textSize>
  2058.         <textStyle>plain</textStyle>
  2059.         <name>Load from Disk</name>
  2060.         <script>on mouseUpif the short name of cd button id 38 is "Select Stack" thenexit mouseUpelseanswer file "Load fieldname list from:" of type TEXTif it Γëá empty thenput it into listnamelock screenopen file listnameread from file listname for 16834if (number of lines of it) Γëá┬¼(number of lines of cd fld "efields") thenbeepanswer "This field list does not match the stack!"elseput it into cd fld "efields"end ifclose file listnameend ifend ifend mouseUp</script>
  2061.     </part>
  2062.     <part>
  2063.         <id>85</id>
  2064.         <type>button</type>
  2065.         <visible> <true /> </visible>
  2066.         <reserved5> 0 </reserved5>
  2067.         <reserved4> 0 </reserved4>
  2068.         <reserved3> 0 </reserved3>
  2069.         <reserved2> 0 </reserved2>
  2070.         <reserved1> 0 </reserved1>
  2071.         <enabled> <true /> </enabled>
  2072.         <rect>
  2073.             <left>250</left>
  2074.             <top>83</top>
  2075.             <right>286</right>
  2076.             <bottom>116</bottom>
  2077.         </rect>
  2078.         <style>transparent</style>
  2079.         <showName> <false /> </showName>
  2080.         <highlight> <false /> </highlight>
  2081.         <autoHighlight> <false /> </autoHighlight>
  2082.         <sharedHighlight> <true /> </sharedHighlight>
  2083.         <family>0</family>
  2084.         <titleWidth>-87</titleWidth>
  2085.         <icon>-15648</icon>
  2086.         <textAlign>center</textAlign>
  2087.         <font>Chicago</font>
  2088.         <textSize>12</textSize>
  2089.         <textStyle>plain</textStyle>
  2090.         <name>Save to Disk</name>
  2091.         <script>on mouseUpif the short name of cd button id 38 is "Select Stack" thenexit mouseUpelseask file "Save this fieldname list as:"if it Γëá empty thenput it into filenameopen file filenamewrite cd fld "efields" to file filenameclose file filenameend ifend ifend mouseUp</script>
  2092.     </part>
  2093.     <part>
  2094.         <id>30</id>
  2095.         <type>field</type>
  2096.         <visible> <false /> </visible>
  2097.         <dontWrap> <false /> </dontWrap>
  2098.         <dontSearch> <false /> </dontSearch>
  2099.         <sharedText> <false /> </sharedText>
  2100.         <fixedLineHeight> <false /> </fixedLineHeight>
  2101.         <autoTab> <false /> </autoTab>
  2102.         <lockText> <true /> </lockText>
  2103.         <rect>
  2104.             <left>0</left>
  2105.             <top>0</top>
  2106.             <right>448</right>
  2107.             <bottom>296</bottom>
  2108.         </rect>
  2109.         <style>scrolling</style>
  2110.         <autoSelect> <false /> </autoSelect>
  2111.         <showLines> <false /> </showLines>
  2112.         <wideMargins> <false /> </wideMargins>
  2113.         <multipleLines> <false /> </multipleLines>
  2114.         <reservedFamily> 0 </reservedFamily>
  2115.         <titleWidth>0</titleWidth>
  2116.         <icon>0</icon>
  2117.         <textAlign>left</textAlign>
  2118.         <font>Geneva</font>
  2119.         <textSize>12</textSize>
  2120.         <textStyle>plain</textStyle>
  2121.         <textHeight>16</textHeight>
  2122.         <name>Hidden</name>
  2123.         <script>on mousedownset the visible of me to falseend mousedown</script>
  2124.     </part>
  2125.     <part>
  2126.         <id>86</id>
  2127.         <type>button</type>
  2128.         <visible> <false /> </visible>
  2129.         <reserved5> 0 </reserved5>
  2130.         <reserved4> 0 </reserved4>
  2131.         <reserved3> 0 </reserved3>
  2132.         <reserved2> 0 </reserved2>
  2133.         <reserved1> 0 </reserved1>
  2134.         <enabled> <true /> </enabled>
  2135.         <rect>
  2136.             <left>196</left>
  2137.             <top>261</top>
  2138.             <right>286</right>
  2139.             <bottom>278</bottom>
  2140.         </rect>
  2141.         <style>checkbox</style>
  2142.         <showName> <true /> </showName>
  2143.         <highlight> <false /> </highlight>
  2144.         <autoHighlight> <true /> </autoHighlight>
  2145.         <sharedHighlight> <true /> </sharedHighlight>
  2146.         <family>0</family>
  2147.         <titleWidth>0</titleWidth>
  2148.         <icon>0</icon>
  2149.         <textAlign>center</textAlign>
  2150.         <font>Geneva</font>
  2151.         <textSize>9</textSize>
  2152.         <textStyle>bold</textStyle>
  2153.         <name>Export RTF?</name>
  2154.         <script></script>
  2155.     </part>
  2156.     <content>
  2157.         <layer>card</layer>
  2158.         <id>26</id>
  2159.         <text>dddd</text>
  2160.     </content>
  2161.     <content>
  2162.         <layer>card</layer>
  2163.         <id>30</id>
  2164.         <text><span class="style21">             </span><span class="style39">        Exporting Text</span><span class="style38"></span><span class="style14">ΓÇó Select the stack from which you wish to create the export file by hitting the "</span><span class="style21">Select Stack</span><span class="style14">" button. ΓÇó Select the desired background (the first background of the stack is the default). ΓÇó Choose the fields you want to export. They will be exported in the order in which you choose them. Each line of the export field on the left defaults to "None", and is a pop-up menu. You can select all the fields by clicking the "</span><span class="style21">Use All Fields</span><span class="style14">" button. ΓÇó Select the Field and Record delimiters. You may change them by selecting the item "Parameters" in the menu "Go To". Remember that although a carriage return (13) is the usual record delimiter for databases, you will have problems if you have imbedded carriage returns in text fields. You may click the checkbox "</span><span class="style21">Remove CR's from all fields?</span><span class="style14">" to change all carriage returns to spaces, or choose another record delimiter.  If you remove the carriage returns from the fields, the text will no longer be formatted into paragraphs.ΓÇó If you wish to save the field list you created for another export from the same stack (or a stack with identical field names) you can hit the button with the arrow pointing to the diskette. Likewise, you can load a saved field list by hitting the button with the arrow pointing away from the diskette. The Tools will alert you if the field list you have loaded does not match the stack you have chosen.ΓÇó Hit the "</span><span class="style21">Export Stack</span><span class="style14">"</span><span class="style41">  </span><span class="style14">button, create an export file name, and the procedure will export the text. You may choose all cards or only marked cards. If you choose all cards, all cards of the selected background will be exported. The procedure may be aborted at any time by clicking the mouse.</span><span class="style41"></span><span class="style14">      </span><span class="style21">        </span></text>
  2165.     </content>
  2166.     <content>
  2167.         <layer>card</layer>
  2168.         <id>42</id>
  2169.         <text>FieldDelim</text>
  2170.     </content>
  2171.     <content>
  2172.         <layer>card</layer>
  2173.         <id>44</id>
  2174.         <text>RecordDelim</text>
  2175.     </content>
  2176.     <content>
  2177.         <layer>card</layer>
  2178.         <id>40</id>
  2179.         <text>9</text>
  2180.     </content>
  2181.     <content>
  2182.         <layer>card</layer>
  2183.         <id>43</id>
  2184.         <text>13</text>
  2185.     </content>
  2186.     <content>
  2187.         <layer>card</layer>
  2188.         <id>62</id>
  2189.         <text><-- Select Fields To Use</text>
  2190.     </content>
  2191.     <content>
  2192.         <layer>card</layer>
  2193.         <id>48</id>
  2194.         <text>bkgnd id 2568</text>
  2195.     </content>
  2196.     <name>Export TExt</name>
  2197.     <script>---------------Card Operations-------------------------------------on opencardlock screenput cd fld "Field Delimiter" of cd┬¼"parameters" into cd fld "Field Delimiter"put cd fld "record delimiter" of cd┬¼"parameters" into cd fld "record Delimiter"if RTFisHere() then show cd btn id 86else hide cd btn id 86end opencardon returnkeyif the visible of cd fld "hidden" is false then send mouseUp to cd button id 38elseclick at 50,50end ifend returnkeyon arrowkey--trapend arrowkey-----  Export Text Operations  -------------------------------------on exportText-- Requires handler: writeExportedTextglobal exportStackglobal fieldendglobal recordendglobal theFieldput empty into message boxdolock(true)put cd fld "background to use" into thisbkgndput true into UseAllCardsanswer "Export which cards?" with "Cancel" or "Marked" or "All"if it is "Cancel" thenput empty into message boxexit exporttextend ifif it is "Marked" then put false into useAllCardsask file "Export text to the file:" with "Export Text File" -- Γêåif the result is "Cancel" or it is empty thenput empty into message boxexit exportTextend ifput it into fileNameput getbkfields() into theFieldput numtochar of cd fld "Field Delimiter" into fieldendput numtochar of cd fld "record delimiter" into recordendopen file fileNameput false into ReMCRif the hilite of cd btn id 81 thenput true into ReMCRend ifput false into ConvertRTFif the hilite of cd btn id 86 thenput true into ConvertRTFend ifif the hilite of cd btn "export field header?" thenput empty into theTextrepeat with rr = 1 to (number of items of theField)put item rr of theField into targetfieldput targetfield& fieldend after theTextend repeatwrite theText&recordend to file fileNameend ifpush cardgo exportstackwriteExportedText useAllCards,fileName,thisbkgnd,ReMCR,convertRTFpop carddolock(false)put empty into message boxend exportTexton writeExportedText useAllCards,fileName,thisbkgnd,ReMCR,ConvertRTF-- Requires function handler: theFieldsglobal fieldendglobal recordendglobal theFieldlock screenif useAllCards thengo card 1 of bg thisbkgndput number of cards in this background into numCardselsego first marked cardput number of marked cards into numCardsend ifput false into ExitLoopput 0 into currentCardput the number of items of theField into numfieldsrepeat with currentCard = 1 to numCardsif the mouseClick thenanswer "Stop exporting text?" with "No" or "Yes" --if it is "Yes" thensubtract 1 from CurrentCardexit repeat --end ifend ifset cursor to busyput empty into theTextif not (exitloop) thenrepeat with rr = 1 to numfieldsput item rr of thefield into targetfieldif (ConvertRTF) thenget fieldtoRTF(false, targetfield)if word 1 of it is "error" thenanswer itput true into exitloopexit repeatelseif reMCR then get RemoveCR(it)put it & fieldend after theTextend ifelseif (targetfield contains "bkgnd field id") thendo "get "&targetfieldelseget bg fld targetfieldend ifif reMCR then get RemoveCR(it)put it& fieldend after theTextend ifend repeatend ifput "Card "&currentCard&&"of"&&numcards&&"exported" into message boxwrite theText&recordend to file fileNameif not useAllCards then go next marked cardelse go next card of this bkgndend repeatclose file fileNameput "cards" into infoif numCards = 1 then put "card" into infoanswer "Text from" && currentCard && info && ┬¼"was exported to the file ΓÇ£" & leafname(fileName) & "ΓÇ¥."unlock screenend writeExportedText------------------------Utilties-----------------------------------function GetBkFieldsput empty into theFieldput cd field "efields" into tempput number of lines of temp into numrepeat with rr = 1 to numput line rr of temp into tempfieldif tempfield Γëá "None" and tempfield Γëá empty thenput tempfield & "," after theFieldend ifend repeatreturn theFieldend getBkfieldson toggleTip visStatus,theFieldlock screenif visStatus thenput "open" into theVisEffect-- card field id theField is a hidden field on this cardset the scroll of cd fld id theField to 0 -- scroll to the topelse put "close" into theVisEffectset the visible of cd fld id theField to visStatusset the hilite of cd btn id (id of cd button "About Hiliter") to visStatus -- "about hiliter"unlock screen with visual zoom theVisEffectend toggleTipon DisableItemsset textfont of cd btn "use all fields" to chicago grayput empty into cd fld "Stack Name"set name of cd button id 38 to "Select Stack"set the textfont of cd fld "background to use" to chicago grayput empty into cd field "eFields"hide cd btn "stack chosen label"set the icon of cd button id 84 to "load from disk grey"set the autohilite of cd button id 84 to falseset the icon of cd button id 85 to "save to disk grey"set the autohilite of cd button id 85 to falseset textfont of cd btn "Cancel" to chicago grayend disableItemson enableItemsset name of cd button id 38 to "Export Stack"set the textfont of cd fld "background to use" to chicagoshow cd btn "stack chosen label"set textfont of cd btn "Cancel" to chicagoset the icon of cd button id 84 to "load from disk black"set the autohilite of cd button id 84 to trueset the icon of cd button id 85 to "save to disk black"set the autohilite of cd button id 85to trueinitstackfieldsend enableItemson initstackfieldsglobal fnumfieldsput empty into cd fld "efields"repeat with rr = 1 to fnumfieldsput "None" into line rr of cd field "Efields"end repeatset scroll of cd fld "efields" to 0if fnumfields > 0 thenset textfont of cd btn "use all fields" to chicagoelseset textfont of cd btn "use all fields" to chicago grayend ifend initstackfieldsfunction removeCR textinreturn replace(return," ",textin)end removeCR</script>
  2198. </card>
  2199.  
  2200.  
  2201. card_18384.xml
  2202. <?xml version="1.0" encoding="utf-8" ?>
  2203. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2204. <card>
  2205.     <id>18384</id>
  2206.     <filler1>0</filler1>
  2207.     <bitmap>BMAP_6488.pbm</bitmap>
  2208.     <cantDelete> <true /> </cantDelete>
  2209.     <showPict> <true /> </showPict>
  2210.     <dontSearch> <true /> </dontSearch>
  2211.     <owner>17972</owner>
  2212.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  2213.     <part>
  2214.         <id>3</id>
  2215.         <type>field</type>
  2216.         <visible> <true /> </visible>
  2217.         <dontWrap> <true /> </dontWrap>
  2218.         <dontSearch> <true /> </dontSearch>
  2219.         <sharedText> <false /> </sharedText>
  2220.         <fixedLineHeight> <true /> </fixedLineHeight>
  2221.         <autoTab> <false /> </autoTab>
  2222.         <lockText> <true /> </lockText>
  2223.         <rect>
  2224.             <left>7</left>
  2225.             <top>53</top>
  2226.             <right>158</right>
  2227.             <bottom>262</bottom>
  2228.         </rect>
  2229.         <style>scrolling</style>
  2230.         <autoSelect> <false /> </autoSelect>
  2231.         <showLines> <true /> </showLines>
  2232.         <wideMargins> <false /> </wideMargins>
  2233.         <multipleLines> <false /> </multipleLines>
  2234.         <reservedFamily> 0 </reservedFamily>
  2235.         <titleWidth>0</titleWidth>
  2236.         <icon>0</icon>
  2237.         <textAlign>left</textAlign>
  2238.         <font>Geneva</font>
  2239.         <textSize>10</textSize>
  2240.         <textStyle>plain</textStyle>
  2241.         <textHeight>16</textHeight>
  2242.         <name>ImportText</name>
  2243.         <script></script>
  2244.     </part>
  2245.     <part>
  2246.         <id>2</id>
  2247.         <type>field</type>
  2248.         <visible> <true /> </visible>
  2249.         <dontWrap> <true /> </dontWrap>
  2250.         <dontSearch> <true /> </dontSearch>
  2251.         <sharedText> <false /> </sharedText>
  2252.         <fixedLineHeight> <true /> </fixedLineHeight>
  2253.         <autoTab> <false /> </autoTab>
  2254.         <lockText> <true /> </lockText>
  2255.         <rect>
  2256.             <left>186</left>
  2257.             <top>53</top>
  2258.             <right>321</right>
  2259.             <bottom>262</bottom>
  2260.         </rect>
  2261.         <style>scrolling</style>
  2262.         <autoSelect> <false /> </autoSelect>
  2263.         <showLines> <true /> </showLines>
  2264.         <wideMargins> <false /> </wideMargins>
  2265.         <multipleLines> <false /> </multipleLines>
  2266.         <reservedFamily> 0 </reservedFamily>
  2267.         <titleWidth>0</titleWidth>
  2268.         <icon>0</icon>
  2269.         <textAlign>left</textAlign>
  2270.         <font>Geneva</font>
  2271.         <textSize>10</textSize>
  2272.         <textStyle>plain</textStyle>
  2273.         <textHeight>16</textHeight>
  2274.         <name>iFields</name>
  2275.         <script>on mouseDownglobal gPopItemsif cd fld "stack name" is empty then exit mousedownget the value of the clicklineif it is empty then exit mouseDownget PopUpMenu(gPopItems,"1",left of me + 1,the MouseV + 12)if item 1 of it is 0 then exit mouseDown -- nothing was selectedput item 2 of it into the clickline -- replace the contents of the fieldend mouseDown</script>
  2276.     </part>
  2277.     <part>
  2278.         <id>71</id>
  2279.         <type>field</type>
  2280.         <visible> <true /> </visible>
  2281.         <dontWrap> <false /> </dontWrap>
  2282.         <dontSearch> <false /> </dontSearch>
  2283.         <sharedText> <false /> </sharedText>
  2284.         <fixedLineHeight> <false /> </fixedLineHeight>
  2285.         <autoTab> <false /> </autoTab>
  2286.         <lockText> <true /> </lockText>
  2287.         <rect>
  2288.             <left>138</left>
  2289.             <top>53</top>
  2290.             <right>188</right>
  2291.             <bottom>262</bottom>
  2292.         </rect>
  2293.         <style>rectangle</style>
  2294.         <autoSelect> <false /> </autoSelect>
  2295.         <showLines> <false /> </showLines>
  2296.         <wideMargins> <false /> </wideMargins>
  2297.         <multipleLines> <false /> </multipleLines>
  2298.         <reservedFamily> 0 </reservedFamily>
  2299.         <titleWidth>0</titleWidth>
  2300.         <icon>0</icon>
  2301.         <textAlign>left</textAlign>
  2302.         <font>Geneva</font>
  2303.         <textSize>12</textSize>
  2304.         <textStyle>plain</textStyle>
  2305.         <textHeight>16</textHeight>
  2306.         <name>Match Fields</name>
  2307.         <script></script>
  2308.     </part>
  2309.     <part>
  2310.         <id>26</id>
  2311.         <type>field</type>
  2312.         <visible> <false /> </visible>
  2313.         <dontWrap> <true /> </dontWrap>
  2314.         <dontSearch> <false /> </dontSearch>
  2315.         <sharedText> <false /> </sharedText>
  2316.         <fixedLineHeight> <false /> </fixedLineHeight>
  2317.         <autoTab> <false /> </autoTab>
  2318.         <lockText> <false /> </lockText>
  2319.         <rect>
  2320.             <left>460</left>
  2321.             <top>257</top>
  2322.             <right>492</right>
  2323.             <bottom>300</bottom>
  2324.         </rect>
  2325.         <style>rectangle</style>
  2326.         <autoSelect> <false /> </autoSelect>
  2327.         <showLines> <false /> </showLines>
  2328.         <wideMargins> <false /> </wideMargins>
  2329.         <multipleLines> <false /> </multipleLines>
  2330.         <reservedFamily> 0 </reservedFamily>
  2331.         <titleWidth>0</titleWidth>
  2332.         <icon>0</icon>
  2333.         <textAlign>left</textAlign>
  2334.         <font>Geneva</font>
  2335.         <textSize>12</textSize>
  2336.         <textStyle>plain</textStyle>
  2337.         <textHeight>16</textHeight>
  2338.         <name>Field Seps</name>
  2339.         <script></script>
  2340.     </part>
  2341.     <part>
  2342.         <id>20</id>
  2343.         <type>button</type>
  2344.         <visible> <true /> </visible>
  2345.         <reserved5> 0 </reserved5>
  2346.         <reserved4> 0 </reserved4>
  2347.         <reserved3> 0 </reserved3>
  2348.         <reserved2> 0 </reserved2>
  2349.         <reserved1> 0 </reserved1>
  2350.         <enabled> <true /> </enabled>
  2351.         <rect>
  2352.             <left>366</left>
  2353.             <top>133</top>
  2354.             <right>411</right>
  2355.             <bottom>169</bottom>
  2356.         </rect>
  2357.         <style>transparent</style>
  2358.         <showName> <false /> </showName>
  2359.         <highlight> <false /> </highlight>
  2360.         <autoHighlight> <false /> </autoHighlight>
  2361.         <sharedHighlight> <true /> </sharedHighlight>
  2362.         <family>0</family>
  2363.         <titleWidth>0</titleWidth>
  2364.         <icon>14289</icon>
  2365.         <textAlign>center</textAlign>
  2366.         <font>Chicago</font>
  2367.         <textSize>12</textSize>
  2368.         <textStyle>plain</textStyle>
  2369.         <name>Next Record</name>
  2370.         <script>on mouseUpif the icon of me is 14289 thenexit mouseUPelseglobal filenameput numtochar of cd fld "Field Delimiter" into fieldendput numtochar of cd fld "record delimiter" into recordendif filename is empty thenbeepexit mouseUpelseif checkfile(filename) thenget readfile (filename, recordend)if it is empty thenbeepset the icon of cd btn id 20 to "search grey"set the autohilite of cd btn id 20 to falseexit mouseUpelserepeat while ((last char of it is fieldend) or (last char of it is recordend))delete last char of itend repeatput replace (return," ",it) into itput replace (fieldend,return,it) into cd field "ImportText"end ifelsebeepend ifend ifend ifend mouseUp</script>
  2371.     </part>
  2372.     <part>
  2373.         <id>38</id>
  2374.         <type>button</type>
  2375.         <visible> <true /> </visible>
  2376.         <reserved5> 0 </reserved5>
  2377.         <reserved4> 0 </reserved4>
  2378.         <reserved3> 0 </reserved3>
  2379.         <reserved2> 0 </reserved2>
  2380.         <reserved1> 0 </reserved1>
  2381.         <enabled> <true /> </enabled>
  2382.         <rect>
  2383.             <left>338</left>
  2384.             <top>9</top>
  2385.             <right>440</right>
  2386.             <bottom>32</bottom>
  2387.         </rect>
  2388.         <style>roundrect</style>
  2389.         <showName> <true /> </showName>
  2390.         <highlight> <false /> </highlight>
  2391.         <autoHighlight> <true /> </autoHighlight>
  2392.         <sharedHighlight> <true /> </sharedHighlight>
  2393.         <family>0</family>
  2394.         <titleWidth>0</titleWidth>
  2395.         <icon>0</icon>
  2396.         <textAlign>center</textAlign>
  2397.         <font>Chicago</font>
  2398.         <textSize>12</textSize>
  2399.         <textStyle>plain</textStyle>
  2400.         <name>Select Stack</name>
  2401.         <script>on mouseUpglobal importStackglobal fbackPopglobal gPopItemsglobal fbackitemglobal filenameif the short name of me is "Select Stack" thenput "Getting name of stack..." into message boxanswer file "Import text into which stack?" of type "STAK" -- Γêåif it is empty or the result is "Cancel" thendisableitemsput empty into message boxexit MouseUpend ifput it into importstackset cursor to busydolock(true)put leafname(importstack) into tempnameput tempname into cd fld "stack name"put "Getting background names from stack"&&tempname into message boxput cd fld "fields to ignore" of cd "parameters" into Ignoresput replace(return,",",ignores) into ignoresput the name of this card into cardidpush cardgo importstackput "Getting background field names from stack"&&tempname into message boxput getforeignbkgnds() into fbackPopput char 1 to (offset("[",fBackPop) -1) of fbackPop into tempget getbackflds(temp,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into gnumfieldsput char temp1 to length(it) of it into gPopItemsif gnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(importstack)&"ΓÇ¥ has no background fields!"end ifmyPop(cardid)put temp into cd fld "background to use"put 1 into fbackitemenableItemsput "Initializing fields..." into message boxput "Getting name of text file..." into message boxanswer file "Import text from which file?" of type "Text" -- Γêåif it is empty or the result is "Cancel" thendisableitemsput empty into message boxexit mouseUpend ifput it into fileNameput leafname(filename) into cd fld "File Name"put "Getting first record..." into message boxGetFirstRecordenableItemsdolock(false)put "Match Stack Fields to Fields of Text File..." into message boxelse if the short name of me is "do import" thenImportTextFiledisableitemsend ifend mouseUp</script>
  2402.     </part>
  2403.     <part>
  2404.         <id>40</id>
  2405.         <type>field</type>
  2406.         <visible> <true /> </visible>
  2407.         <dontWrap> <false /> </dontWrap>
  2408.         <dontSearch> <false /> </dontSearch>
  2409.         <sharedText> <false /> </sharedText>
  2410.         <fixedLineHeight> <false /> </fixedLineHeight>
  2411.         <autoTab> <false /> </autoTab>
  2412.         <lockText> <true /> </lockText>
  2413.         <rect>
  2414.             <left>372</left>
  2415.             <top>198</top>
  2416.             <right>407</right>
  2417.             <bottom>216</bottom>
  2418.         </rect>
  2419.         <style>rectangle</style>
  2420.         <autoSelect> <false /> </autoSelect>
  2421.         <showLines> <false /> </showLines>
  2422.         <wideMargins> <false /> </wideMargins>
  2423.         <multipleLines> <false /> </multipleLines>
  2424.         <reservedFamily> 0 </reservedFamily>
  2425.         <titleWidth>0</titleWidth>
  2426.         <icon>0</icon>
  2427.         <textAlign>center</textAlign>
  2428.         <font>Chicago</font>
  2429.         <textSize>12</textSize>
  2430.         <textStyle>plain</textStyle>
  2431.         <textHeight>16</textHeight>
  2432.         <name>Field Delimiter</name>
  2433.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  2434.     </part>
  2435.     <part>
  2436.         <id>42</id>
  2437.         <type>field</type>
  2438.         <visible> <true /> </visible>
  2439.         <dontWrap> <false /> </dontWrap>
  2440.         <dontSearch> <true /> </dontSearch>
  2441.         <sharedText> <false /> </sharedText>
  2442.         <fixedLineHeight> <false /> </fixedLineHeight>
  2443.         <autoTab> <false /> </autoTab>
  2444.         <lockText> <true /> </lockText>
  2445.         <rect>
  2446.             <left>361</left>
  2447.             <top>168</top>
  2448.             <right>421</right>
  2449.             <bottom>195</bottom>
  2450.         </rect>
  2451.         <style>transparent</style>
  2452.         <autoSelect> <false /> </autoSelect>
  2453.         <showLines> <false /> </showLines>
  2454.         <wideMargins> <false /> </wideMargins>
  2455.         <multipleLines> <false /> </multipleLines>
  2456.         <reservedFamily> 0 </reservedFamily>
  2457.         <titleWidth>0</titleWidth>
  2458.         <icon>0</icon>
  2459.         <textAlign>center</textAlign>
  2460.         <font>Geneva</font>
  2461.         <textSize>9</textSize>
  2462.         <textStyle>bold</textStyle>
  2463.         <textHeight>16</textHeight>
  2464.         <name>Field Delimiter Label</name>
  2465.         <script></script>
  2466.     </part>
  2467.     <part>
  2468.         <id>43</id>
  2469.         <type>field</type>
  2470.         <visible> <true /> </visible>
  2471.         <dontWrap> <false /> </dontWrap>
  2472.         <dontSearch> <false /> </dontSearch>
  2473.         <sharedText> <false /> </sharedText>
  2474.         <fixedLineHeight> <false /> </fixedLineHeight>
  2475.         <autoTab> <false /> </autoTab>
  2476.         <lockText> <true /> </lockText>
  2477.         <rect>
  2478.             <left>374</left>
  2479.             <top>247</top>
  2480.             <right>407</right>
  2481.             <bottom>264</bottom>
  2482.         </rect>
  2483.         <style>rectangle</style>
  2484.         <autoSelect> <false /> </autoSelect>
  2485.         <showLines> <false /> </showLines>
  2486.         <wideMargins> <false /> </wideMargins>
  2487.         <multipleLines> <false /> </multipleLines>
  2488.         <reservedFamily> 0 </reservedFamily>
  2489.         <titleWidth>0</titleWidth>
  2490.         <icon>0</icon>
  2491.         <textAlign>center</textAlign>
  2492.         <font>Chicago</font>
  2493.         <textSize>12</textSize>
  2494.         <textStyle>plain</textStyle>
  2495.         <textHeight>16</textHeight>
  2496.         <name>Record Delimiter</name>
  2497.         <script>on closefieldif ((me is not a number) or (me < 0) or (me > 256)) thenbeepput 0 into meanswer "That value is not permitted. It must be between 0 and 256"end ifend closefield</script>
  2498.     </part>
  2499.     <part>
  2500.         <id>44</id>
  2501.         <type>field</type>
  2502.         <visible> <true /> </visible>
  2503.         <dontWrap> <false /> </dontWrap>
  2504.         <dontSearch> <true /> </dontSearch>
  2505.         <sharedText> <false /> </sharedText>
  2506.         <fixedLineHeight> <false /> </fixedLineHeight>
  2507.         <autoTab> <false /> </autoTab>
  2508.         <lockText> <true /> </lockText>
  2509.         <rect>
  2510.             <left>362</left>
  2511.             <top>218</top>
  2512.             <right>422</right>
  2513.             <bottom>245</bottom>
  2514.         </rect>
  2515.         <style>transparent</style>
  2516.         <autoSelect> <false /> </autoSelect>
  2517.         <showLines> <false /> </showLines>
  2518.         <wideMargins> <false /> </wideMargins>
  2519.         <multipleLines> <false /> </multipleLines>
  2520.         <reservedFamily> 0 </reservedFamily>
  2521.         <titleWidth>0</titleWidth>
  2522.         <icon>0</icon>
  2523.         <textAlign>center</textAlign>
  2524.         <font>Geneva</font>
  2525.         <textSize>9</textSize>
  2526.         <textStyle>bold</textStyle>
  2527.         <textHeight>16</textHeight>
  2528.         <name>Record Delimiter Label</name>
  2529.         <script></script>
  2530.     </part>
  2531.     <part>
  2532.         <id>28</id>
  2533.         <type>button</type>
  2534.         <visible> <true /> </visible>
  2535.         <reserved5> 0 </reserved5>
  2536.         <reserved4> 0 </reserved4>
  2537.         <reserved3> 0 </reserved3>
  2538.         <reserved2> 0 </reserved2>
  2539.         <reserved1> 0 </reserved1>
  2540.         <enabled> <true /> </enabled>
  2541.         <rect>
  2542.             <left>410</left>
  2543.             <top>269</top>
  2544.             <right>442</right>
  2545.             <bottom>290</bottom>
  2546.         </rect>
  2547.         <style>transparent</style>
  2548.         <showName> <false /> </showName>
  2549.         <highlight> <false /> </highlight>
  2550.         <autoHighlight> <false /> </autoHighlight>
  2551.         <sharedHighlight> <true /> </sharedHighlight>
  2552.         <family>0</family>
  2553.         <titleWidth>0</titleWidth>
  2554.         <icon>23753</icon>
  2555.         <textAlign>center</textAlign>
  2556.         <font>Chicago</font>
  2557.         <textSize>12</textSize>
  2558.         <textStyle>plain</textStyle>
  2559.         <name>Illuminate</name>
  2560.         <script></script>
  2561.     </part>
  2562.     <part>
  2563.         <id>27</id>
  2564.         <type>button</type>
  2565.         <visible> <true /> </visible>
  2566.         <reserved5> 0 </reserved5>
  2567.         <reserved4> 0 </reserved4>
  2568.         <reserved3> 0 </reserved3>
  2569.         <reserved2> 0 </reserved2>
  2570.         <reserved1> 0 </reserved1>
  2571.         <enabled> <true /> </enabled>
  2572.         <rect>
  2573.             <left>409</left>
  2574.             <top>270</top>
  2575.             <right>442</right>
  2576.             <bottom>290</bottom>
  2577.         </rect>
  2578.         <style>transparent</style>
  2579.         <showName> <false /> </showName>
  2580.         <highlight> <false /> </highlight>
  2581.         <autoHighlight> <true /> </autoHighlight>
  2582.         <sharedHighlight> <true /> </sharedHighlight>
  2583.         <family>0</family>
  2584.         <titleWidth>0</titleWidth>
  2585.         <icon>0</icon>
  2586.         <textAlign>center</textAlign>
  2587.         <font>Palatino</font>
  2588.         <textSize>12</textSize>
  2589.         <textStyle>plain</textStyle>
  2590.         <name>About Hiliter</name>
  2591.         <script>on mouseUp-- Requires handler: toggleTip-- card field "Hidden" is a hidden field containing the tip infolock screenset the visible of cd fld "Hidden" to trueset scroll of cd fld "hidden" to 0unlock screen with visual zoom open fastend mouseUp</script>
  2592.     </part>
  2593.     <part>
  2594.         <id>62</id>
  2595.         <type>field</type>
  2596.         <visible> <true /> </visible>
  2597.         <dontWrap> <false /> </dontWrap>
  2598.         <dontSearch> <false /> </dontSearch>
  2599.         <sharedText> <false /> </sharedText>
  2600.         <fixedLineHeight> <false /> </fixedLineHeight>
  2601.         <autoTab> <false /> </autoTab>
  2602.         <lockText> <true /> </lockText>
  2603.         <rect>
  2604.             <left>187</left>
  2605.             <top>31</top>
  2606.             <right>319</right>
  2607.             <bottom>50</bottom>
  2608.         </rect>
  2609.         <style>shadow</style>
  2610.         <autoSelect> <false /> </autoSelect>
  2611.         <showLines> <false /> </showLines>
  2612.         <wideMargins> <false /> </wideMargins>
  2613.         <multipleLines> <false /> </multipleLines>
  2614.         <reservedFamily> 0 </reservedFamily>
  2615.         <titleWidth>0</titleWidth>
  2616.         <icon>0</icon>
  2617.         <textAlign>left</textAlign>
  2618.         <font>Chicago Gray</font>
  2619.         <textSize>12</textSize>
  2620.         <textStyle>condense</textStyle>
  2621.         <textHeight>16</textHeight>
  2622.         <name>Background to Use</name>
  2623.         <script>on mouseDownglobal fBackPopglobal fcurrentbkgndglobal gPopItemsglobal importStackglobal fBackItemget the textfont of meif it is "chicago gray" then exit mousedownput fbackitem into curmenuitemif curmenuitem is empty then put 1 into curmenuitemget PopUpMenu(fBackPop,curmenuitem,"","-1" ) -- display the pop-up menuset cursor to busyif item 1 of it is 0 then exit mouseDown -- nothing was selectedif item 1 of it is fbackitem then exit mousedownput item 2 of it into me -- replace the contents of the fielddolock(true)put item 1 of it into fbackitemput cd fld "fields to ignore" of cd "parameters" into ignoresput replace(return,",",ignores) into ignoresput me into fbackput the name of this card into cardidpush cardgo to importstackget getbackflds(fback,Ignores)put offset("None[checkmark]",it) into temp1put char 1 to (temp1 - 1) of it into gnumfieldsput char temp1 to length(it) of it into gPopItemsif gnumfields = 0 thenbeepanswer "WARNING: Background ΓÇ£"&temp&"ΓÇ¥ of ΓÇ£"&leafname(importstack)&"ΓÇ¥ has no background fields!"end ifmyPop(cardid)set cursor to busyinitstackfieldsput replace("checkmark","",fBackPop) into fBackPopput replace(me&"[]",me&"[checkmark]",fbackpop) into fBackpopdolock(false)end mouseDown</script>
  2624.     </part>
  2625.     <part>
  2626.         <id>63</id>
  2627.         <type>field</type>
  2628.         <visible> <true /> </visible>
  2629.         <dontWrap> <false /> </dontWrap>
  2630.         <dontSearch> <false /> </dontSearch>
  2631.         <sharedText> <false /> </sharedText>
  2632.         <fixedLineHeight> <false /> </fixedLineHeight>
  2633.         <autoTab> <false /> </autoTab>
  2634.         <lockText> <true /> </lockText>
  2635.         <rect>
  2636.             <left>208</left>
  2637.             <top>9</top>
  2638.             <right>316</right>
  2639.             <bottom>23</bottom>
  2640.         </rect>
  2641.         <style>transparent</style>
  2642.         <autoSelect> <false /> </autoSelect>
  2643.         <showLines> <false /> </showLines>
  2644.         <wideMargins> <false /> </wideMargins>
  2645.         <multipleLines> <false /> </multipleLines>
  2646.         <reservedFamily> 0 </reservedFamily>
  2647.         <titleWidth>0</titleWidth>
  2648.         <icon>0</icon>
  2649.         <textAlign>left</textAlign>
  2650.         <font>Geneva</font>
  2651.         <textSize>9</textSize>
  2652.         <textStyle>condense</textStyle>
  2653.         <textStyle>bold</textStyle>
  2654.         <textHeight>12</textHeight>
  2655.         <name>Stack Name</name>
  2656.         <script></script>
  2657.     </part>
  2658.     <part>
  2659.         <id>64</id>
  2660.         <type>button</type>
  2661.         <visible> <false /> </visible>
  2662.         <reserved5> 0 </reserved5>
  2663.         <reserved4> 0 </reserved4>
  2664.         <reserved3> 0 </reserved3>
  2665.         <reserved2> 0 </reserved2>
  2666.         <reserved1> 0 </reserved1>
  2667.         <enabled> <true /> </enabled>
  2668.         <rect>
  2669.             <left>188</left>
  2670.             <top>8</top>
  2671.             <right>209</right>
  2672.             <bottom>27</bottom>
  2673.         </rect>
  2674.         <style>transparent</style>
  2675.         <showName> <false /> </showName>
  2676.         <highlight> <false /> </highlight>
  2677.         <autoHighlight> <false /> </autoHighlight>
  2678.         <sharedHighlight> <true /> </sharedHighlight>
  2679.         <family>0</family>
  2680.         <titleWidth>0</titleWidth>
  2681.         <icon>1000</icon>
  2682.         <textAlign>center</textAlign>
  2683.         <font>Chicago</font>
  2684.         <textSize>12</textSize>
  2685.         <textStyle>plain</textStyle>
  2686.         <name>Stack Chosen Label</name>
  2687.         <script></script>
  2688.     </part>
  2689.     <part>
  2690.         <id>65</id>
  2691.         <type>button</type>
  2692.         <visible> <false /> </visible>
  2693.         <reserved5> 0 </reserved5>
  2694.         <reserved4> 0 </reserved4>
  2695.         <reserved3> 0 </reserved3>
  2696.         <reserved2> 0 </reserved2>
  2697.         <reserved1> 0 </reserved1>
  2698.         <enabled> <true /> </enabled>
  2699.         <rect>
  2700.             <left>0</left>
  2701.             <top>7</top>
  2702.             <right>24</right>
  2703.             <bottom>25</bottom>
  2704.         </rect>
  2705.         <style>transparent</style>
  2706.         <showName> <false /> </showName>
  2707.         <highlight> <false /> </highlight>
  2708.         <autoHighlight> <false /> </autoHighlight>
  2709.         <sharedHighlight> <true /> </sharedHighlight>
  2710.         <family>0</family>
  2711.         <titleWidth>0</titleWidth>
  2712.         <icon>12195</icon>
  2713.         <textAlign>center</textAlign>
  2714.         <font>Chicago</font>
  2715.         <textSize>12</textSize>
  2716.         <textStyle>plain</textStyle>
  2717.         <name>File Chosen Label</name>
  2718.         <script></script>
  2719.     </part>
  2720.     <part>
  2721.         <id>66</id>
  2722.         <type>field</type>
  2723.         <visible> <true /> </visible>
  2724.         <dontWrap> <false /> </dontWrap>
  2725.         <dontSearch> <false /> </dontSearch>
  2726.         <sharedText> <false /> </sharedText>
  2727.         <fixedLineHeight> <false /> </fixedLineHeight>
  2728.         <autoTab> <false /> </autoTab>
  2729.         <lockText> <true /> </lockText>
  2730.         <rect>
  2731.             <left>16</left>
  2732.             <top>9</top>
  2733.             <right>131</right>
  2734.             <bottom>24</bottom>
  2735.         </rect>
  2736.         <style>transparent</style>
  2737.         <autoSelect> <false /> </autoSelect>
  2738.         <showLines> <false /> </showLines>
  2739.         <wideMargins> <false /> </wideMargins>
  2740.         <multipleLines> <false /> </multipleLines>
  2741.         <reservedFamily> 0 </reservedFamily>
  2742.         <titleWidth>0</titleWidth>
  2743.         <icon>0</icon>
  2744.         <textAlign>left</textAlign>
  2745.         <font>Geneva</font>
  2746.         <textSize>9</textSize>
  2747.         <textStyle>condense</textStyle>
  2748.         <textStyle>bold</textStyle>
  2749.         <textHeight>12</textHeight>
  2750.         <name>File Name</name>
  2751.         <script></script>
  2752.     </part>
  2753.     <part>
  2754.         <id>69</id>
  2755.         <type>button</type>
  2756.         <visible> <true /> </visible>
  2757.         <reserved5> 0 </reserved5>
  2758.         <reserved4> 0 </reserved4>
  2759.         <reserved3> 0 </reserved3>
  2760.         <reserved2> 0 </reserved2>
  2761.         <reserved1> 0 </reserved1>
  2762.         <enabled> <true /> </enabled>
  2763.         <rect>
  2764.             <left>343</left>
  2765.             <top>40</top>
  2766.             <right>435</right>
  2767.             <bottom>63</bottom>
  2768.         </rect>
  2769.         <style>roundrect</style>
  2770.         <showName> <true /> </showName>
  2771.         <highlight> <false /> </highlight>
  2772.         <autoHighlight> <false /> </autoHighlight>
  2773.         <sharedHighlight> <true /> </sharedHighlight>
  2774.         <family>0</family>
  2775.         <titleWidth>0</titleWidth>
  2776.         <icon>0</icon>
  2777.         <textAlign>center</textAlign>
  2778.         <font>Chicago Gray</font>
  2779.         <textSize>12</textSize>
  2780.         <textStyle>plain</textStyle>
  2781.         <name>Cancel</name>
  2782.         <script>on mouseUpglobal filenameget textfont of meif it is "chicago gray" then exit mouseUplock screendisableitemsif checkfile(filename) then close file filenameput empty into message boxend mouseUp</script>
  2783.     </part>
  2784.     <part>
  2785.         <id>76</id>
  2786.         <type>button</type>
  2787.         <visible> <true /> </visible>
  2788.         <reserved5> 0 </reserved5>
  2789.         <reserved4> 0 </reserved4>
  2790.         <reserved3> 0 </reserved3>
  2791.         <reserved2> 0 </reserved2>
  2792.         <reserved1> 0 </reserved1>
  2793.         <enabled> <true /> </enabled>
  2794.         <rect>
  2795.             <left>349</left>
  2796.             <top>72</top>
  2797.             <right>374</right>
  2798.             <bottom>88</bottom>
  2799.         </rect>
  2800.         <style>transparent</style>
  2801.         <showName> <false /> </showName>
  2802.         <highlight> <false /> </highlight>
  2803.         <autoHighlight> <false /> </autoHighlight>
  2804.         <sharedHighlight> <true /> </sharedHighlight>
  2805.         <family>0</family>
  2806.         <titleWidth>0</titleWidth>
  2807.         <icon>12195</icon>
  2808.         <textAlign>center</textAlign>
  2809.         <font>Chicago</font>
  2810.         <textSize>12</textSize>
  2811.         <textStyle>plain</textStyle>
  2812.         <name>Label</name>
  2813.         <script></script>
  2814.     </part>
  2815.     <part>
  2816.         <id>77</id>
  2817.         <type>button</type>
  2818.         <visible> <true /> </visible>
  2819.         <reserved5> 0 </reserved5>
  2820.         <reserved4> 0 </reserved4>
  2821.         <reserved3> 0 </reserved3>
  2822.         <reserved2> 0 </reserved2>
  2823.         <reserved1> 0 </reserved1>
  2824.         <enabled> <true /> </enabled>
  2825.         <rect>
  2826.             <left>401</left>
  2827.             <top>71</top>
  2828.             <right>422</right>
  2829.             <bottom>90</bottom>
  2830.         </rect>
  2831.         <style>transparent</style>
  2832.         <showName> <false /> </showName>
  2833.         <highlight> <false /> </highlight>
  2834.         <autoHighlight> <false /> </autoHighlight>
  2835.         <sharedHighlight> <true /> </sharedHighlight>
  2836.         <family>0</family>
  2837.         <titleWidth>0</titleWidth>
  2838.         <icon>1000</icon>
  2839.         <textAlign>center</textAlign>
  2840.         <font>Chicago</font>
  2841.         <textSize>12</textSize>
  2842.         <textStyle>plain</textStyle>
  2843.         <name>Label</name>
  2844.         <script></script>
  2845.     </part>
  2846.     <part>
  2847.         <id>80</id>
  2848.         <type>button</type>
  2849.         <visible> <true /> </visible>
  2850.         <reserved5> 0 </reserved5>
  2851.         <reserved4> 0 </reserved4>
  2852.         <reserved3> 0 </reserved3>
  2853.         <reserved2> 0 </reserved2>
  2854.         <reserved1> 0 </reserved1>
  2855.         <enabled> <true /> </enabled>
  2856.         <rect>
  2857.             <left>331</left>
  2858.             <top>268</top>
  2859.             <right>367</right>
  2860.             <bottom>292</bottom>
  2861.         </rect>
  2862.         <style>transparent</style>
  2863.         <showName> <false /> </showName>
  2864.         <highlight> <false /> </highlight>
  2865.         <autoHighlight> <false /> </autoHighlight>
  2866.         <sharedHighlight> <true /> </sharedHighlight>
  2867.         <family>0</family>
  2868.         <titleWidth>0</titleWidth>
  2869.         <icon>1011</icon>
  2870.         <textAlign>center</textAlign>
  2871.         <font>Chicago</font>
  2872.         <textSize>12</textSize>
  2873.         <textStyle>plain</textStyle>
  2874.         <name>Go Home</name>
  2875.         <script>on mouseUpgo homeend mouseUp</script>
  2876.     </part>
  2877.     <part>
  2878.         <id>83</id>
  2879.         <type>button</type>
  2880.         <visible> <true /> </visible>
  2881.         <reserved5> 0 </reserved5>
  2882.         <reserved4> 0 </reserved4>
  2883.         <reserved3> 0 </reserved3>
  2884.         <reserved2> 0 </reserved2>
  2885.         <reserved1> 0 </reserved1>
  2886.         <enabled> <true /> </enabled>
  2887.         <rect>
  2888.             <left>341</left>
  2889.             <top>95</top>
  2890.             <right>377</right>
  2891.             <bottom>128</bottom>
  2892.         </rect>
  2893.         <style>transparent</style>
  2894.         <showName> <false /> </showName>
  2895.         <highlight> <false /> </highlight>
  2896.         <autoHighlight> <false /> </autoHighlight>
  2897.         <sharedHighlight> <true /> </sharedHighlight>
  2898.         <family>0</family>
  2899.         <titleWidth>-1</titleWidth>
  2900.         <icon>20327</icon>
  2901.         <textAlign>center</textAlign>
  2902.         <font>Chicago</font>
  2903.         <textSize>12</textSize>
  2904.         <textStyle>plain</textStyle>
  2905.         <name>Load from Disk</name>
  2906.         <script>on mouseUpif the short name of card button id 38 is "Select Stack" thenexit mouseUPelseglobal filenameanswer file "Load fieldname list from:" of type TEXTif it Γëá empty thenput it into listnamelock screenif (checkfile(filename)) then close file filenameopen file listnameread from file listname for 16834if (number of lines in it) Γëá ┬¼(number of lines in cd fld "ifields") thenbeepanswer "This field list does not match the stack!"elseput it into cd fld "ifields"put number of lines of cd field "importtext" into numif num < (number of lines of cd field "ifields") thenput line 1 to num of cd fld "ifields" into cd fld "Ifields"end ifclose file listnameend ifgetfirstrecordend ifend ifend mouseUp</script>
  2907.     </part>
  2908.     <part>
  2909.         <id>82</id>
  2910.         <type>button</type>
  2911.         <visible> <true /> </visible>
  2912.         <reserved5> 0 </reserved5>
  2913.         <reserved4> 0 </reserved4>
  2914.         <reserved3> 0 </reserved3>
  2915.         <reserved2> 0 </reserved2>
  2916.         <reserved1> 0 </reserved1>
  2917.         <enabled> <true /> </enabled>
  2918.         <rect>
  2919.             <left>391</left>
  2920.             <top>96</top>
  2921.             <right>427</right>
  2922.             <bottom>129</bottom>
  2923.         </rect>
  2924.         <style>transparent</style>
  2925.         <showName> <false /> </showName>
  2926.         <highlight> <false /> </highlight>
  2927.         <autoHighlight> <false /> </autoHighlight>
  2928.         <sharedHighlight> <true /> </sharedHighlight>
  2929.         <family>0</family>
  2930.         <titleWidth>-182</titleWidth>
  2931.         <icon>-15648</icon>
  2932.         <textAlign>center</textAlign>
  2933.         <font>Chicago</font>
  2934.         <textSize>12</textSize>
  2935.         <textStyle>plain</textStyle>
  2936.         <name>Save to Disk</name>
  2937.         <script>on mouseUpif the short name of card button id 38 is "Select Stack" thenexit mouseUPelseask file "Save this fieldname list as:"if it Γëá empty thenput it into filenameopen file filenamewrite cd fld "ifields" to file filenameclose file filenameend ifend ifend mouseUp</script>
  2938.     </part>
  2939.     <part>
  2940.         <id>74</id>
  2941.         <type>button</type>
  2942.         <visible> <false /> </visible>
  2943.         <reserved5> 0 </reserved5>
  2944.         <reserved4> 0 </reserved4>
  2945.         <reserved3> 0 </reserved3>
  2946.         <reserved2> 0 </reserved2>
  2947.         <reserved1> 0 </reserved1>
  2948.         <enabled> <true /> </enabled>
  2949.         <rect>
  2950.             <left>302</left>
  2951.             <top>53</top>
  2952.             <right>319</right>
  2953.             <bottom>293</bottom>
  2954.         </rect>
  2955.         <style>transparent</style>
  2956.         <showName> <false /> </showName>
  2957.         <highlight> <false /> </highlight>
  2958.         <autoHighlight> <false /> </autoHighlight>
  2959.         <sharedHighlight> <true /> </sharedHighlight>
  2960.         <family>0</family>
  2961.         <titleWidth>0</titleWidth>
  2962.         <icon>0</icon>
  2963.         <textAlign>center</textAlign>
  2964.         <font>Chicago</font>
  2965.         <textSize>12</textSize>
  2966.         <textStyle>plain</textStyle>
  2967.         <name>MultiScroll</name>
  2968.         <script>on mouseDownglobal initScrollput the rect of me into myRectMultiScroll myRect,"2,card","3,card"put the scroll of card field id 2 into initScrollend mouseDownon mouseWithinMultiScroll Initend mouseWithinon mouseLeaveMultiScroll UnInitend mouseLeave</script>
  2969.     </part>
  2970.     <part>
  2971.         <id>88</id>
  2972.         <type>button</type>
  2973.         <visible> <true /> </visible>
  2974.         <reserved5> 0 </reserved5>
  2975.         <reserved4> 0 </reserved4>
  2976.         <reserved3> 0 </reserved3>
  2977.         <reserved2> 0 </reserved2>
  2978.         <reserved1> 0 </reserved1>
  2979.         <enabled> <true /> </enabled>
  2980.         <rect>
  2981.             <left>7</left>
  2982.             <top>269</top>
  2983.             <right>131</right>
  2984.             <bottom>287</bottom>
  2985.         </rect>
  2986.         <style>checkbox</style>
  2987.         <showName> <true /> </showName>
  2988.         <highlight> <false /> </highlight>
  2989.         <autoHighlight> <true /> </autoHighlight>
  2990.         <sharedHighlight> <true /> </sharedHighlight>
  2991.         <family>0</family>
  2992.         <titleWidth>0</titleWidth>
  2993.         <icon>0</icon>
  2994.         <textAlign>center</textAlign>
  2995.         <font>Geneva</font>
  2996.         <textSize>9</textSize>
  2997.         <textStyle>bold</textStyle>
  2998.         <name>Skip Field Header?</name>
  2999.         <script></script>
  3000.     </part>
  3001.     <part>
  3002.         <id>30</id>
  3003.         <type>field</type>
  3004.         <visible> <false /> </visible>
  3005.         <dontWrap> <false /> </dontWrap>
  3006.         <dontSearch> <false /> </dontSearch>
  3007.         <sharedText> <false /> </sharedText>
  3008.         <fixedLineHeight> <false /> </fixedLineHeight>
  3009.         <autoTab> <false /> </autoTab>
  3010.         <lockText> <true /> </lockText>
  3011.         <rect>
  3012.             <left>0</left>
  3013.             <top>1</top>
  3014.             <right>448</right>
  3015.             <bottom>296</bottom>
  3016.         </rect>
  3017.         <style>scrolling</style>
  3018.         <autoSelect> <false /> </autoSelect>
  3019.         <showLines> <false /> </showLines>
  3020.         <wideMargins> <false /> </wideMargins>
  3021.         <multipleLines> <false /> </multipleLines>
  3022.         <reservedFamily> 0 </reservedFamily>
  3023.         <titleWidth>0</titleWidth>
  3024.         <icon>0</icon>
  3025.         <textAlign>left</textAlign>
  3026.         <font>Geneva</font>
  3027.         <textSize>12</textSize>
  3028.         <textStyle>plain</textStyle>
  3029.         <textHeight>16</textHeight>
  3030.         <name>Hidden</name>
  3031.         <script>on mousedownset the visible of me to falseend mousedown</script>
  3032.     </part>
  3033.     <part>
  3034.         <id>89</id>
  3035.         <type>button</type>
  3036.         <visible> <false /> </visible>
  3037.         <reserved5> 0 </reserved5>
  3038.         <reserved4> 0 </reserved4>
  3039.         <reserved3> 0 </reserved3>
  3040.         <reserved2> 0 </reserved2>
  3041.         <reserved1> 0 </reserved1>
  3042.         <enabled> <true /> </enabled>
  3043.         <rect>
  3044.             <left>187</left>
  3045.             <top>269</top>
  3046.             <right>289</right>
  3047.             <bottom>288</bottom>
  3048.         </rect>
  3049.         <style>checkbox</style>
  3050.         <showName> <true /> </showName>
  3051.         <highlight> <false /> </highlight>
  3052.         <autoHighlight> <true /> </autoHighlight>
  3053.         <sharedHighlight> <true /> </sharedHighlight>
  3054.         <family>0</family>
  3055.         <titleWidth>0</titleWidth>
  3056.         <icon>0</icon>
  3057.         <textAlign>center</textAlign>
  3058.         <font>Geneva</font>
  3059.         <textSize>9</textSize>
  3060.         <textStyle>bold</textStyle>
  3061.         <name>Convert RTF</name>
  3062.         <script></script>
  3063.     </part>
  3064.     <content>
  3065.         <layer>card</layer>
  3066.         <id>26</id>
  3067.         <text>None</text>
  3068.     </content>
  3069.     <content>
  3070.         <layer>card</layer>
  3071.         <id>30</id>
  3072.         <text><span class="style38">                                               Importing Text</span><span class="style14">ΓÇó Begin by selecting a stack to import text into, using the "</span><span class="style21">Select Stack</span><span class="style14">" button. A procedure will then be run to get the names of all the backgrounds, and will put these into the "Background to Use" pop-up menu. ΓÇó You will then be prompted to select a text file to import. The first record of the text file will be parsed into fields based on the record and field delimiters you have selected in the lower right-hand corner. These delimiters can be changed by selecting the "Parameters" item in the "Go To" menu.ΓÇó You will see the same number of lines in the "field selection" field on the right as there are fields in the import file on the left. Select the fieldnames to use. Each line in the "field selection" field on the right is a pop-up menu, and may be used to select the name of any field name of the selected background. If you hold the mouse button down over any line, and then release it, the line will revert to "None".    If you leave a line in the "field selection" field as "None" the import procedure will ignore the corresponding import field. If you select a background field on the right multiple times, then subsequent import text is imported into that field after the existing text.   You may view the next import record by hitting the right arrow on the card or on the keyboard.   The stack selected and the import file selected are both shown at the top.ΓÇó If you wish to save the field list you created for another import from the same stack (or a stack with identical field names) you can hit the button with the arrow pointing to the diskette. Likewise, you can load a saved field list by hitting the button with the arrow pointing away from the diskette. The Tools will alert you if the field list you have loaded does not match the stack you have chosen.ΓÇó If you then hit the "</span><span class="style21">Do Import</span><span class="style14">" button, the import process begins. Each record is put into a new card and text is mapped into fields as specified by you. The message box keeps you informed of the progress of the import. You may abort the process at any time by clicking the mouse.ΓÇó You may begin the selection process over by hitting the "Cancel" button.</span></text>
  3073.     </content>
  3074.     <content>
  3075.         <layer>card</layer>
  3076.         <id>42</id>
  3077.         <text>Field Delimiterer</text>
  3078.     </content>
  3079.     <content>
  3080.         <layer>card</layer>
  3081.         <id>44</id>
  3082.         <text>RecordDelimiter</text>
  3083.     </content>
  3084.     <content>
  3085.         <layer>card</layer>
  3086.         <id>40</id>
  3087.         <text>9</text>
  3088.     </content>
  3089.     <content>
  3090.         <layer>card</layer>
  3091.         <id>43</id>
  3092.         <text>13</text>
  3093.     </content>
  3094.     <content>
  3095.         <layer>card</layer>
  3096.         <id>62</id>
  3097.         <text>Body</text>
  3098.     </content>
  3099.     <name>Import Text</name>
  3100.     <script>---------------Card Operations---------------------------------on arrowkey whichkeyif whichkey is "right" then send mouseup to cd button "Next Record"else beepend arrowkeyon opencardput cd fld "Field Delimiter" of cd ┬¼"parameters" into cd fld "Field Delimiter"put cd fld "record delimiter" of cd ┬¼"parameters" into cd fld "record Delimiter"if RTFisHere() thenshow card button "Convert RTF"elsehide card button "Convert RTF"end ifend opencardon idleglobal initScrollrepeat with i = 1 to 2get the scroll of card field iif it is not initScroll thenput it into initScrollMultiScroll it,"2,card","3,card"end ifend repeatpass idleend idleon returnkeyif the visible of cd fld "hidden" is false then send mouseUp to cd button id 38elseclick at 50,50end ifpass returnkeyend returnkey----------Import Text Operations-------------------------------------on importTextFileglobal filenameglobal importstackset cursor to busydolock(true)put "Setting up parameters for import..." into message boxput cd fld "background to use" into mybackput getBKfields() into theFieldput number of items in theField into NumImFieldsput numtochar of cd fld "Field Delimiter" into fieldendput numtochar of cd fld "record delimiter" into recordendput false into abortedif (checkfile(filename)) then close file filenameopen file filenameput false into exitLoopput the name of this card into cardidput false into aheaderif (the hilite of cd btn id 88) thenput true into aheaderend ifput false into ConvertRTFif (the hilite of cd btn "Convert RTF") thenput true into ConvertRTFend ifpush cardgo to importstackgo to last card of bkgnd mybackput 0 into ImpNumif (aheader) thenget readfile (filename, recordend)end ifrepeat until exitLoopif the mouseClick thenanswer "Stop importing text?" with "No" or "Yes" --if it is "Yes" then exit repeat --end ifsend "doMenu New Card" to HyperCardput empty into temprepeat with rr = 1 to NumImFieldsput item rr of theField into targetfieldif (NumImFields is 1) thenget readfile (filename, recordend)if it is empty thensend "doMenu Delete Card" to HyperCardput true into exitLoopexit repeatend ifelse if rr is 1 thenget readfile (filename, fieldend)if it is empty thensend "doMenu Delete Card" to HyperCardput true into exitLoopexit repeatend ifelse if rr < NumImFields thenget readfile (filename, fieldend)else if rr is NumImFields thenget readfile (filename, recordend)end ifput it into temprepeat while ((last char of temp is fieldend) or (last char of temp is recordend))delete last char of tempend repeatif targetfield Γëá empty then----------------------RTF-----------------------------if ConvertRTF thendo "get RTFtoField (temp, false, "&quote&targetfield&quote&")"if it <> "" thenanswer itput true into exitloopexit repeatend if----------------------------RTF-----------------------------elseif (targetfield contains "bkgnd field id") thenif ((targetfield is empty)  or (temp Γëá "true") or (temp Γëá "false")) thendo "put temp into "&targetfieldelsedo "put return&temp after "&targetfieldend ifelseif ((bkgnd field targetfield is empty)  or (temp Γëá "true") or (temp Γëá "false")) thendo "put temp into bkgnd field "&quote&targetfield&quoteelsedo "put return&temp after bkgnd field "&quote&targetfield&quoteend ifend ifend ifend ifend repeatif not (exitloop) thenadd 1 to impnumput "Record "&impnum&&"imported" into message boxend ifend repeatclose file fileNamebeepif not(aborted) thenanswer "Text from" && impnum &&┬¼"records was imported into stack ΓÇ£" & leafname(importstack) & "ΓÇ¥ from text file ΓÇ£"& leafname(filename)&"ΓÇ¥." -- Γêåend ifmypop(cardid)dolock(false)end importTextFile------------------------Utilties-----------------------------------on GetFirstRecordglobal filenamelock screenif filename Γëá empty thenput numtochar of cd fld "Field Delimiter" into fieldendput numtochar of cd fld "record delimiter" into recordendopen file fileNameput readfile (filename, recordend) into tempdelete the last character of tempput replace (return," ",temp) into tempput replace(fieldend,return,temp) into cd fld "importText"end ifend GetFirstRecordon toggleTip visStatus,theFieldlock screenif visStatus thenput "open" into theVisEffect-- card field id theField is a hidden field on this cardset the scroll of cd fld id theField to 0 -- scroll to the topelse put "close" into theVisEffectset the visible of cd fld id theField to visStatusset the hilite of cd btn id (id of cd button "About Hiliter") to visStatus -- "about hiliter"unlock screen with visual zoom theVisEffectend toggleTipon DisableItemslock screenset name of cd button id 38 to "Select Stack"put empty into cd fld "Stack Name"set the textfont of cd fld "background to use" to chicago grayput empty into cd fld "File Name"set the icon of cd button id 20 to "Search Grey"set the autohilite of cd btn id 20 to falseput empty into cd field "importtext"put empty into cd field "Ifields"put empty into cd field "Match Fields"hide cd btn "multiscroll"set the icon of cd button id 83 to "load from disk grey"set the autohilite of cd button id 82 to falseset the icon of cd button id 82 to "save to disk grey"set the autohilite of cd button id 83 to falsehide cd btn "file Chosen Label"hide cd btn "stack chosen label"set the textfont of cd btn "Cancel" to chicago grayend DisableItemson enableItemslock screenglobal initscrollset name of cd button id 38 to "Do Import"set the icon of cd button id 20 to "Search black"set the autohilite of cd btn id 20 to trueset the textfont of cd fld "background to use" to chicagoset the icon of cd button id 83 to "load from disk black"set the autohilite of cd button id 83 to trueset the icon of cd button id 82 to "save to disk black"set the autohilite of cd button id 82 to trueshow cd button "multiscroll"show cd btn "file Chosen Label"show cd btn "stack chosen label"set the textfont of cd btn "Cancel" to chicagoinitstackfieldsput 0 into initScrollMultiScroll 0,"2,card","3,card"end enableItemson initstackfields paramput empty into cd field "ifields"put empty into cd field "match fields"put (number of lines of cd field "importtext") into numrepeat with rr = 1 to numput "None" into line rr of cd field "ifields"end repeatput min(20,num) into anumrepeat with rr = 1 to anumput "----->" into line rr of cd field "match fields"end repeatend initstackfieldsfunction GetBkFieldsput empty into theFieldput cd field "ifields" into tempput number of lines of temp into numrepeat with rr = 1 to numput line rr of temp into tempfieldif tempfield Γëá "None" and tempfield Γëá empty thenput tempfield & "," after theFieldelseput "," after theFieldend ifend repeatreturn theFieldend getBkfields</script>
  3101. </card>
  3102.  
  3103.  
  3104. card_4384.xml
  3105. <?xml version="1.0" encoding="utf-8" ?>
  3106. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3107. <card>
  3108.     <id>4384</id>
  3109.     <filler1>0</filler1>
  3110.     <bitmap>BMAP_5294.pbm</bitmap>
  3111.     <cantDelete> <true /> </cantDelete>
  3112.     <showPict> <true /> </showPict>
  3113.     <dontSearch> <true /> </dontSearch>
  3114.     <owner>2959</owner>
  3115.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  3116.     <part>
  3117.         <id>4</id>
  3118.         <type>field</type>
  3119.         <visible> <false /> </visible>
  3120.         <dontWrap> <false /> </dontWrap>
  3121.         <dontSearch> <false /> </dontSearch>
  3122.         <sharedText> <false /> </sharedText>
  3123.         <fixedLineHeight> <false /> </fixedLineHeight>
  3124.         <autoTab> <false /> </autoTab>
  3125.         <lockText> <false /> </lockText>
  3126.         <rect>
  3127.             <left>23</left>
  3128.             <top>169</top>
  3129.             <right>232</right>
  3130.             <bottom>186</bottom>
  3131.         </rect>
  3132.         <style>rectangle</style>
  3133.         <autoSelect> <false /> </autoSelect>
  3134.         <showLines> <false /> </showLines>
  3135.         <wideMargins> <false /> </wideMargins>
  3136.         <multipleLines> <false /> </multipleLines>
  3137.         <reservedFamily> 0 </reservedFamily>
  3138.         <titleWidth>0</titleWidth>
  3139.         <icon>0</icon>
  3140.         <textAlign>left</textAlign>
  3141.         <font>Geneva</font>
  3142.         <textSize>12</textSize>
  3143.         <textStyle>plain</textStyle>
  3144.         <textHeight>16</textHeight>
  3145.         <name>Word Path</name>
  3146.         <script></script>
  3147.     </part>
  3148.     <part>
  3149.         <id>5</id>
  3150.         <type>button</type>
  3151.         <visible> <true /> </visible>
  3152.         <reserved5> 0 </reserved5>
  3153.         <reserved4> 0 </reserved4>
  3154.         <reserved3> 0 </reserved3>
  3155.         <reserved2> 0 </reserved2>
  3156.         <reserved1> 0 </reserved1>
  3157.         <enabled> <true /> </enabled>
  3158.         <rect>
  3159.             <left>368</left>
  3160.             <top>9</top>
  3161.             <right>419</right>
  3162.             <bottom>47</bottom>
  3163.         </rect>
  3164.         <style>transparent</style>
  3165.         <showName> <false /> </showName>
  3166.         <highlight> <false /> </highlight>
  3167.         <autoHighlight> <false /> </autoHighlight>
  3168.         <sharedHighlight> <true /> </sharedHighlight>
  3169.         <family>0</family>
  3170.         <titleWidth>0</titleWidth>
  3171.         <icon>14767</icon>
  3172.         <textAlign>center</textAlign>
  3173.         <font>Chicago</font>
  3174.         <textSize>12</textSize>
  3175.         <textStyle>plain</textStyle>
  3176.         <name>Hide About</name>
  3177.         <script>on mouseUplock screenif (the visible of cd fld "about 1") thenset visible of cd fld "about 1" to falseelseset visible of cd fld "about 1" to trueset the scroll of cd fld "about 1" to 0end ifend mouseUp</script>
  3178.     </part>
  3179.     <part>
  3180.         <id>6</id>
  3181.         <type>field</type>
  3182.         <visible> <false /> </visible>
  3183.         <dontWrap> <false /> </dontWrap>
  3184.         <dontSearch> <false /> </dontSearch>
  3185.         <sharedText> <false /> </sharedText>
  3186.         <fixedLineHeight> <true /> </fixedLineHeight>
  3187.         <autoTab> <false /> </autoTab>
  3188.         <lockText> <true /> </lockText>
  3189.         <rect>
  3190.             <left>5</left>
  3191.             <top>4</top>
  3192.             <right>281</right>
  3193.             <bottom>284</bottom>
  3194.         </rect>
  3195.         <style>scrolling</style>
  3196.         <autoSelect> <false /> </autoSelect>
  3197.         <showLines> <false /> </showLines>
  3198.         <wideMargins> <false /> </wideMargins>
  3199.         <multipleLines> <false /> </multipleLines>
  3200.         <reservedFamily> 0 </reservedFamily>
  3201.         <titleWidth>0</titleWidth>
  3202.         <icon>0</icon>
  3203.         <textAlign>left</textAlign>
  3204.         <font>Geneva</font>
  3205.         <textSize>12</textSize>
  3206.         <textStyle>plain</textStyle>
  3207.         <textHeight>14</textHeight>
  3208.         <name>About 1</name>
  3209.         <script>on mousedownset visible of me to falseend mousedown</script>
  3210.     </part>
  3211.     <part>
  3212.         <id>10</id>
  3213.         <type>button</type>
  3214.         <visible> <true /> </visible>
  3215.         <reserved5> 0 </reserved5>
  3216.         <reserved4> 0 </reserved4>
  3217.         <reserved3> 0 </reserved3>
  3218.         <reserved2> 0 </reserved2>
  3219.         <reserved1> 0 </reserved1>
  3220.         <enabled> <true /> </enabled>
  3221.         <rect>
  3222.             <left>326</left>
  3223.             <top>223</top>
  3224.             <right>351</right>
  3225.             <bottom>242</bottom>
  3226.         </rect>
  3227.         <style>transparent</style>
  3228.         <showName> <false /> </showName>
  3229.         <highlight> <false /> </highlight>
  3230.         <autoHighlight> <false /> </autoHighlight>
  3231.         <sharedHighlight> <true /> </sharedHighlight>
  3232.         <family>0</family>
  3233.         <titleWidth>0</titleWidth>
  3234.         <icon>1000</icon>
  3235.         <textAlign>center</textAlign>
  3236.         <font>Chicago</font>
  3237.         <textSize>12</textSize>
  3238.         <textStyle>plain</textStyle>
  3239.         <name>Stack Chosen Label</name>
  3240.         <script></script>
  3241.     </part>
  3242.     <part>
  3243.         <id>11</id>
  3244.         <type>button</type>
  3245.         <visible> <true /> </visible>
  3246.         <reserved5> 0 </reserved5>
  3247.         <reserved4> 0 </reserved4>
  3248.         <reserved3> 0 </reserved3>
  3249.         <reserved2> 0 </reserved2>
  3250.         <reserved1> 0 </reserved1>
  3251.         <enabled> <true /> </enabled>
  3252.         <rect>
  3253.             <left>327</left>
  3254.             <top>248</top>
  3255.             <right>348</right>
  3256.             <bottom>267</bottom>
  3257.         </rect>
  3258.         <style>transparent</style>
  3259.         <showName> <false /> </showName>
  3260.         <highlight> <false /> </highlight>
  3261.         <autoHighlight> <false /> </autoHighlight>
  3262.         <sharedHighlight> <true /> </sharedHighlight>
  3263.         <family>0</family>
  3264.         <titleWidth>0</titleWidth>
  3265.         <icon>1000</icon>
  3266.         <textAlign>center</textAlign>
  3267.         <font>Chicago</font>
  3268.         <textSize>12</textSize>
  3269.         <textStyle>plain</textStyle>
  3270.         <name>Stack Chosen Label</name>
  3271.         <script></script>
  3272.     </part>
  3273.     <part>
  3274.         <id>12</id>
  3275.         <type>button</type>
  3276.         <visible> <true /> </visible>
  3277.         <reserved5> 0 </reserved5>
  3278.         <reserved4> 0 </reserved4>
  3279.         <reserved3> 0 </reserved3>
  3280.         <reserved2> 0 </reserved2>
  3281.         <reserved1> 0 </reserved1>
  3282.         <enabled> <true /> </enabled>
  3283.         <rect>
  3284.             <left>382</left>
  3285.             <top>195</top>
  3286.             <right>403</right>
  3287.             <bottom>214</bottom>
  3288.         </rect>
  3289.         <style>transparent</style>
  3290.         <showName> <false /> </showName>
  3291.         <highlight> <false /> </highlight>
  3292.         <autoHighlight> <false /> </autoHighlight>
  3293.         <sharedHighlight> <true /> </sharedHighlight>
  3294.         <family>0</family>
  3295.         <titleWidth>0</titleWidth>
  3296.         <icon>1000</icon>
  3297.         <textAlign>center</textAlign>
  3298.         <font>Chicago</font>
  3299.         <textSize>12</textSize>
  3300.         <textStyle>plain</textStyle>
  3301.         <name>Stack Chosen Label</name>
  3302.         <script></script>
  3303.     </part>
  3304.     <part>
  3305.         <id>13</id>
  3306.         <type>button</type>
  3307.         <visible> <true /> </visible>
  3308.         <reserved5> 0 </reserved5>
  3309.         <reserved4> 0 </reserved4>
  3310.         <reserved3> 0 </reserved3>
  3311.         <reserved2> 0 </reserved2>
  3312.         <reserved1> 0 </reserved1>
  3313.         <enabled> <true /> </enabled>
  3314.         <rect>
  3315.             <left>382</left>
  3316.             <top>248</top>
  3317.             <right>403</right>
  3318.             <bottom>267</bottom>
  3319.         </rect>
  3320.         <style>transparent</style>
  3321.         <showName> <false /> </showName>
  3322.         <highlight> <false /> </highlight>
  3323.         <autoHighlight> <false /> </autoHighlight>
  3324.         <sharedHighlight> <true /> </sharedHighlight>
  3325.         <family>0</family>
  3326.         <titleWidth>0</titleWidth>
  3327.         <icon>1000</icon>
  3328.         <textAlign>center</textAlign>
  3329.         <font>Chicago</font>
  3330.         <textSize>12</textSize>
  3331.         <textStyle>plain</textStyle>
  3332.         <name>Stack Chosen Label</name>
  3333.         <script></script>
  3334.     </part>
  3335.     <part>
  3336.         <id>14</id>
  3337.         <type>button</type>
  3338.         <visible> <true /> </visible>
  3339.         <reserved5> 0 </reserved5>
  3340.         <reserved4> 0 </reserved4>
  3341.         <reserved3> 0 </reserved3>
  3342.         <reserved2> 0 </reserved2>
  3343.         <reserved1> 0 </reserved1>
  3344.         <enabled> <true /> </enabled>
  3345.         <rect>
  3346.             <left>327</left>
  3347.             <top>195</top>
  3348.             <right>352</right>
  3349.             <bottom>211</bottom>
  3350.         </rect>
  3351.         <style>transparent</style>
  3352.         <showName> <false /> </showName>
  3353.         <highlight> <false /> </highlight>
  3354.         <autoHighlight> <false /> </autoHighlight>
  3355.         <sharedHighlight> <true /> </sharedHighlight>
  3356.         <family>0</family>
  3357.         <titleWidth>0</titleWidth>
  3358.         <icon>12195</icon>
  3359.         <textAlign>center</textAlign>
  3360.         <font>Chicago</font>
  3361.         <textSize>12</textSize>
  3362.         <textStyle>plain</textStyle>
  3363.         <name>Stack Chosen Label</name>
  3364.         <script></script>
  3365.     </part>
  3366.     <part>
  3367.         <id>15</id>
  3368.         <type>button</type>
  3369.         <visible> <true /> </visible>
  3370.         <reserved5> 0 </reserved5>
  3371.         <reserved4> 0 </reserved4>
  3372.         <reserved3> 0 </reserved3>
  3373.         <reserved2> 0 </reserved2>
  3374.         <reserved1> 0 </reserved1>
  3375.         <enabled> <true /> </enabled>
  3376.         <rect>
  3377.             <left>381</left>
  3378.             <top>223</top>
  3379.             <right>406</right>
  3380.             <bottom>239</bottom>
  3381.         </rect>
  3382.         <style>transparent</style>
  3383.         <showName> <false /> </showName>
  3384.         <highlight> <false /> </highlight>
  3385.         <autoHighlight> <false /> </autoHighlight>
  3386.         <sharedHighlight> <true /> </sharedHighlight>
  3387.         <family>0</family>
  3388.         <titleWidth>0</titleWidth>
  3389.         <icon>12195</icon>
  3390.         <textAlign>center</textAlign>
  3391.         <font>Chicago</font>
  3392.         <textSize>12</textSize>
  3393.         <textStyle>plain</textStyle>
  3394.         <name>Stack Chosen Label</name>
  3395.         <script></script>
  3396.     </part>
  3397.     <part>
  3398.         <id>16</id>
  3399.         <type>button</type>
  3400.         <visible> <true /> </visible>
  3401.         <reserved5> 0 </reserved5>
  3402.         <reserved4> 0 </reserved4>
  3403.         <reserved3> 0 </reserved3>
  3404.         <reserved2> 0 </reserved2>
  3405.         <reserved1> 0 </reserved1>
  3406.         <enabled> <true /> </enabled>
  3407.         <rect>
  3408.             <left>320</left>
  3409.             <top>188</top>
  3410.             <right>407</right>
  3411.             <bottom>217</bottom>
  3412.         </rect>
  3413.         <style>transparent</style>
  3414.         <showName> <false /> </showName>
  3415.         <highlight> <false /> </highlight>
  3416.         <autoHighlight> <false /> </autoHighlight>
  3417.         <sharedHighlight> <true /> </sharedHighlight>
  3418.         <family>0</family>
  3419.         <titleWidth>0</titleWidth>
  3420.         <icon>0</icon>
  3421.         <textAlign>center</textAlign>
  3422.         <font>Chicago</font>
  3423.         <textSize>12</textSize>
  3424.         <textStyle>plain</textStyle>
  3425.         <name></name>
  3426.         <script>on mouseUpdomenu "Import Text"end mouseUp</script>
  3427.     </part>
  3428.     <part>
  3429.         <id>17</id>
  3430.         <type>button</type>
  3431.         <visible> <true /> </visible>
  3432.         <reserved5> 0 </reserved5>
  3433.         <reserved4> 0 </reserved4>
  3434.         <reserved3> 0 </reserved3>
  3435.         <reserved2> 0 </reserved2>
  3436.         <reserved1> 0 </reserved1>
  3437.         <enabled> <true /> </enabled>
  3438.         <rect>
  3439.             <left>320</left>
  3440.             <top>220</top>
  3441.             <right>409</right>
  3442.             <bottom>244</bottom>
  3443.         </rect>
  3444.         <style>transparent</style>
  3445.         <showName> <false /> </showName>
  3446.         <highlight> <false /> </highlight>
  3447.         <autoHighlight> <false /> </autoHighlight>
  3448.         <sharedHighlight> <true /> </sharedHighlight>
  3449.         <family>0</family>
  3450.         <titleWidth>0</titleWidth>
  3451.         <icon>0</icon>
  3452.         <textAlign>center</textAlign>
  3453.         <font>Chicago</font>
  3454.         <textSize>12</textSize>
  3455.         <textStyle>plain</textStyle>
  3456.         <name></name>
  3457.         <script>on mouseUpdomenu "Export text"end mouseUp</script>
  3458.     </part>
  3459.     <part>
  3460.         <id>18</id>
  3461.         <type>button</type>
  3462.         <visible> <true /> </visible>
  3463.         <reserved5> 0 </reserved5>
  3464.         <reserved4> 0 </reserved4>
  3465.         <reserved3> 0 </reserved3>
  3466.         <reserved2> 0 </reserved2>
  3467.         <reserved1> 0 </reserved1>
  3468.         <enabled> <true /> </enabled>
  3469.         <rect>
  3470.             <left>320</left>
  3471.             <top>246</top>
  3472.             <right>407</right>
  3473.             <bottom>270</bottom>
  3474.         </rect>
  3475.         <style>transparent</style>
  3476.         <showName> <false /> </showName>
  3477.         <highlight> <false /> </highlight>
  3478.         <autoHighlight> <false /> </autoHighlight>
  3479.         <sharedHighlight> <true /> </sharedHighlight>
  3480.         <family>0</family>
  3481.         <titleWidth>0</titleWidth>
  3482.         <icon>0</icon>
  3483.         <textAlign>center</textAlign>
  3484.         <font>Chicago</font>
  3485.         <textSize>12</textSize>
  3486.         <textStyle>plain</textStyle>
  3487.         <name></name>
  3488.         <script>on mouseUpdomenu "stack -> stack"end mouseUp</script>
  3489.     </part>
  3490.     <part>
  3491.         <id>19</id>
  3492.         <type>button</type>
  3493.         <visible> <true /> </visible>
  3494.         <reserved5> 0 </reserved5>
  3495.         <reserved4> 0 </reserved4>
  3496.         <reserved3> 0 </reserved3>
  3497.         <reserved2> 0 </reserved2>
  3498.         <reserved1> 0 </reserved1>
  3499.         <enabled> <true /> </enabled>
  3500.         <rect>
  3501.             <left>299</left>
  3502.             <top>8</top>
  3503.             <right>363</right>
  3504.             <bottom>48</bottom>
  3505.         </rect>
  3506.         <style>transparent</style>
  3507.         <showName> <false /> </showName>
  3508.         <highlight> <false /> </highlight>
  3509.         <autoHighlight> <false /> </autoHighlight>
  3510.         <sharedHighlight> <true /> </sharedHighlight>
  3511.         <family>0</family>
  3512.         <titleWidth>0</titleWidth>
  3513.         <icon>1011</icon>
  3514.         <textAlign>center</textAlign>
  3515.         <font>Chicago</font>
  3516.         <textSize>12</textSize>
  3517.         <textStyle>plain</textStyle>
  3518.         <name>Go Home</name>
  3519.         <script>on mouseUpgo homeend mouseUp</script>
  3520.     </part>
  3521.     <content>
  3522.         <layer>background</layer>
  3523.         <id>2</id>
  3524.         <text><span class="style51">mport/ExportTools</span><span class="style53">for HyperCard 2.x</span></text>
  3525.     </content>
  3526.     <content>
  3527.         <layer>background</layer>
  3528.         <id>3</id>
  3529.         <text><span class="style24">y Robert Murray┬⌐ 1992 Massachusetts Instituteof TechnologyVersion 2.2This is the last update. Please readattached notes.</span></text>
  3530.     </content>
  3531.     <content>
  3532.         <layer>card</layer>
  3533.         <id>4</id>
  3534.         <text>Robert Murray:Microsoft Word</text>
  3535.     </content>
  3536.     <content>
  3537.         <layer>card</layer>
  3538.         <id>6</id>
  3539.         <text><span class="style37"> </span><span class="style42">     </span><span class="style43">Hypercard   </span><span class="style42">       </span><span class="style43">Import/Export</span><span class="style37">       </span><span class="style43">     2.x                             Tools</span><span class="style37"></span><span class="style21">        </span><span class="style64">    These tools were created to make importing and exporting text in and out of Hypercard easier to do.  They give you the option of choosing which fields to use, field order, background, field and record delimiters,  etc.    There are some excellant commercial programs which do this and more, but those of you who do not need their power might find this stack useful.    This stack is freeware, with the restrictions listed at the bottom of this field.</span><span class="style14">   </span><span class="style64">   This will be the last update as I am no longer doing HyperCard work (and haven't been for the last year). If anyone else wants to do updates to the code, please be my guest, but include the notice at the bottom so my boss stays happy.</span><span class="style14"></span><span class="style65">                    RTF Notes:</span><span class="style64">   You can do RTF with this stack, but you must get the shareware externals from:</span><span class="style14"></span><span class="style60">    Differential Development    P.O. Box 1044    Harvard Square Station    Cambridge, MA 02238</span><span class="style64">to make this work. You can get further info by downloading the stack "Hypercard RTF" from SUMEX.    If you tell the Tools to convert RTF on either import or export, the completion time increases greatly, so use this feature with caution. </span><span class="style65">                    Delimiters:</span><span class="style64">   When choosing field and record delimiters, remember that most databases and  spreadsheets use tab (9) for the field delimiter and return (13) for the record delimiter. Some databases allow you to choose any delimiters, and this is useful if you are dealing with text fields with embedded carriage returns, and thus do not want to use return (13) as the record delimiter.   You can change the delimiters by choosing the "Parameters" item in the "Go To" menu.   Also on the "Parameters" card there is a field where you can list keywords to ignore when my procedure gets a list of background field names. I have included this feature so the field list will not include shared text labels which do not change from card to card in the background. If you create your stacks so that all shared text fields have common keywords as in "Name Label" or "Address Label", this feature will come in handy.</span><span class="style60">       These tools were developed at the MIT Media Lab by Robert Murray, and are being released for non-commercial use with the consent of Nicholas Negroponte, Director, The MIT Media Lab.  They shall not be used, rewritten, or adapted as the basis of a commercial software product without first obtaining appropriate licenses from MIT. They are provided "as is" without express or implied warranty.   Permission to use, copy, or modify this stack without fee is hereby granted, provided that this copyright notice appears on all copies and supporting documentation.   </span><span class="style14">  </span><span class="style64">Robert Murray   MIT Media Lab   20 Ames Street E15-468B   Cambridge, MA 02139   Phone: 617-253-0683   Internet:   murray@media-lab.media.mit.edu     Compuserve: 76666,726</span><span class="style14"></span><span class="style60">   Thanks to</span><span class="style24"> Oscar F. Hills</span><span class="style60">  for the use of his XCMD </span><span class="style24">MultiScroll</span><span class="style60">. The XCFN </span><span class="style24">Replace</span><span class="style60"> is </span><span class="style24">┬⌐1989-90 Jon Wind</span><span class="style60">. The XCFN </span><span class="style24">PopUpMenu</span><span class="style60">, is </span><span class="style24">┬⌐ Bill Fernandez 1989</span><span class="style60">.</span><span class="style14">   </span><span class="style21">            </span><span class="style24">   (Click here)</span></text>
  3540.     </content>
  3541.     <name>First</name>
  3542.     <script>on opencarduncheckitemsend opencardon returnkeyclick at 50,50pass returnkeyend returnkeyon closecardif the visible of cd fld "about 1" is true thenlock screenset the visible of cd fld "about 1" to falseend ifend closecard</script>
  3543. </card>
  3544.  
  3545.  
  3546.